Medicine

A 19-year-old man has a chronic papulosquamous skin disorder involving his knees and elbows. He now has dull low back pain and morning stiffness that lasts a few hours. On examination, forward flexion at the lumbar spine is reduced but neck movements are normal. There is stress tenderness of both sacroiliac joints. Which of the following is the most likely diagnosis?