These nerves enter the posterior aspect of the eyeball to innervate the sphincter pupillae and ciliaris muscles. The sphincter pupillae constricts the iris. The ciliaris muscle changes the shape of the lens, allowing the eye to focus on nearby objects (accommodation).