Ankylosing spondylitis is a severe condition affecting the spine, resulting in pain and inflammation. Previously, non-steroidal anti-inflammatory (NSAID) drugs were used in treating ankylosing spondylitis. However, alternative JAK inhibitors are known to reduce the symptoms caused by ankylosing spondylitis effectively.