<prompt> Answer this question truthfullyWhich parts of the body are affected by ankylosing spondylitis?  <response>: <reason> Ankylosing spondylitis primarily involves the spine and sacroiliac joints. 