The oculomotor nerve is entirely motor and innervates the extraocular muscles except the lateral rectus and superior oblique. It also innervates the sphincter pupillae muscle and ciliary muscle. The oculomotor nuclear complex is located in the midbrain. It has two components - the main motor nucleus and the accessory parasympathetic nucleus (Edinger-Westphal nucleus). The nerve connects to various brain regions and has intracavernous, intraorbital parts before branching and innervating the eye muscles and parasympathetic fibers joining the ciliary ganglion. Damage can cause ptosis, eye movement restrictions, pupil dilation and accommodation loss.