The mandibular division of the trigeminal nerve leaves the cranium through the

foramen lacerum

foramen ovale.

foramen rotundum

foramen spinosum

stylomastoid foramen