The trochlear nerve is a cranial nerve that primarily controls the superior oblique muscle of the eye, which is responsible for downward and inward movements of the eyeball. It is unique among cranial nerves for emerging from the dorsal aspect of the brainstem.