The patient was a 42-year-old female with “lumbosacral pain for more than 20 years and right hip pain for 3 years, aggravated for 1 month.” She was admitted to the hospital. On examination, the lumbar spine was obviously restricted in forward flexion and backward extension, bilateral hip joints were obviously restricted, tonic in extension, 4-character sign of both hips (+), percussion pain of the right femoral ridge, pressure pain in the right groin, no epidermal rupture, no flexion deformity, slightly restricted movement of both knees, patellar grinding test (+), floating patella test (-), drawer test (-), no diminished skin sensation, normal dorsalis pedis artery pulsation. The X-ray examination showed bilateral hip and knee degeneration and bamboo-like changes in the spine. The admission diagnosis was: ankylosing spondylitis and bilateral hip ankylosis. The patient was given comprehensive treatment such as anti-infection, prevention of vascular embolism and rehabilitation exercises. The patient was discharged from the hospital with good function of the right hip joint.