Medicine

A man presented with difficulty walking and urinary incontinence. On examination, his pupils were nonreactive to bright light but constricted when focusing on a near object. What is the diagnosis?