Oculomotor nerve:

Cranial nerve III. The oculomotor nerve controls most of the extraocular muscles of the eye. It also innervates muscles that control the raising of the eyelid, constriction of the pupil, and focusing on objects at varying distances.