III nerve palsy with pupillary sparing is seen in-
Infarction of occulomotor nerve in the orbit e.g. in diabetes, giant cell arteritis can cause 3rd nerve palsy with pupillaiy sparing.
Craniopharyngioma
Hypertension
Aneurysm of post. communicating artery
DM