Study to Evaluate the Efficacy and Safety of Filgotinib in Participants With Active Ankylosing Spondylitis Who Have an Inadequate Response to Biologic Disease-Modifying Antirheumatic Drug Therapy

The primary objective of this study is to evaluate the effect of filgotinib versus placebo on signs and symptoms of active ankylosing spondylitis (AS), evaluated by Assessment of SpondyloArthritis international Society 40% improvement (ASAS40) response at Week 16 in participants with active AS who have an inadequate response to biologic disease-modifying antirheumatic drug therapy.

The study consists of 2 parts: Main Study (screening through Week 16) and Long-Term Extension (LTE) (up to 1.5 years after Week 16). Participants who permanently discontinue treatment in the Main Study will not be eligible for the Long-Term extension.

Eligibility Criteria:
Key Inclusion Criteria:

* Ambulatory male or female individuals who are ≥ 18 years of age (≥ 20 years of age in Japan) on the day of signing informed consent
* Have had inadequate response or intolerance to at least 1 and not more than 3 biologic disease-modifying antirheumatic drugs (bioDMARDs) administered for the treatment of ankylosing spondylitis (AS) or inflammatory arthritis
* Have an established diagnosis of radiographic axial spondyloarthritis (SpA)/ AS by a rheumatologist (or other specialist with expertise in diagnosing AS)
* Meet Assessment of SpondyloArthritis international Society (ASAS) classification criteria for axial SpA with radiographic sacroiliitis on imaging at screening as follows:

  * History of back pain ≥ 3 months and age at onset of back pain \< 45 years, AND
  * Radiographic sacroiliitis Grade ≥ 2 bilaterally or Grade 3-4 unilaterally, AND
  * ≥ 1 SpA feature (refer to protocol; inflammatory back pain, arthritis, heel enthesitis, uveitis anterior, dactylitis, psoriasis, inflammatory bowel disease (IBD), good response to nonsteroidal anti-inflammatory drugs (NSAIDs), family history of SpA, historically positive human leukocyte antigen B27 (HLA-B27), elevated C-reactive protein (CRP))
* Have active AS at screening and Day 1 as defined by:

  * Bath Ankylosing Spondylitis Disease Activity Index (BASDAI) ≥ 4, AND
  * Spinal pain ≥ 4 (based on BASDAI question 2)
* Have a history of inadequate response or intolerance to NSAIDs for the treatment of AS
* If using allowed conventional synthetic disease-modifying antirheumatic drugs (csDMARDs), NSAID, or corticosteroid therapy, must have been on stable doses (as outlined in protocol) prior to Day 1

Key Exclusion Criteria:

* Prior exposure to a Janus kinase (JAK) inhibitor \> 2 doses
* Total ankylosis of the spine
* Any active/recent infection, as specified in the protocol
* Diagnosis of fibromyalgia
* Any musculoskeletal disorder other than AS that would interfere with assessment of study parameters, as per judgement of investigator

  * Note: Prior history of reactive or other types of inflammatory arthritis is permitted if there is documentation of change in diagnosis to AS or additional diagnosis of AS
* Any history of an inflammatory arthritis with onset age before 16 years old

Note: Other protocol defined Inclusion/Exclusion criteria may apply.