Nerve supply of ciliary muscles for pupil accommodation is:
The ciliary muscle receives parasympathetic ﬁbers from the short ciliary nerves that arise from the ciliary ganglion. 
The sympathetic postganglionic ﬁbers are part of cranial nerve V1 (Nasociliary  nerve of the trigeminal), while presynaptic parasympathetic ﬁbers to the ciliary ganglia are from the  oculomotor nerve.
Parasympathetic and sympathetic system
Somatosensory nucleus
Trigeminal nerve
Red Nucleus of mid brain