Orthopaedics

A 65-yr-old man with H/O back pain since 3 months. ESR is raised. On examination marked stiffness and mild restriction of chest movements is found. On x-ray, syndesmophytes are present in vertebrae. Diagnosis is -