San Francisco 49ers right tackle Colton McKivitz suffered a serious injury on Sunday night when his left ankle bent at an unnatural angle. Coach Kyle Shanahan said the team believes the 30-year-old broke and dislocated his left ankle, an injury that will end his season.

The injury happened midway through the second quarter of the 49ers' 35-10 win over the Minnesota Vikings in Mexico City. McKivitz was injured midway through the second quarter when a pile of players came down on his left leg at the end of a four-yard Christian McCaffrey run.

An air cast was placed on his left leg, and McKivitz was carted to the locker room after teammates offered encouraging words and hugs. Left tackle Trent Williams slammed his helmet to the ground in frustration, and other players dropped to a knee to pray.

What a Dislocated Ankle Means

Cleveland Clinic says an ankle fracture is a break in one or more of the three bones in the joint: the tibia, fibula and talus. Serious fractures require ankle surgery, and sudden, severe pain, swelling and bruising are symptoms.

McKivitz's injury also involves a dislocation. Ortho Sport & Spine Physicians says an ankle dislocation occurs when the bones forming the ankle joint are forced out of their normal positions. It can involve torn ligaments and may occur alongside fractures.

The team believes it is probably similar to the injury Fred Warner suffered last year, which was 'really crushing'. McKivitz had been enjoying 'an unbelievable year' before he went down.

Treatment Depends on Severity

Not every broken ankle requires surgery, but all fractures need a diagnosis and treatment to heal properly. Physicians may use a physical exam, X-ray, CT scan, MRI or bone scan to diagnose the injury.

Displaced fractures, in which bones move out of line, probably call for surgery. A surgeon may insert pins, wires, screws and sometimes plates to hold the bones in place.

Johns Hopkins Medicine says one common repair is open reduction and internal fixation, or ORIF. Surgeons reposition bone pieces during the operation, then secure them with screws, plates, rods, wires or nails.

Surgery is more likely when bones are significantly out of alignment, break into several pieces or puncture the skin, or when the ankle is unstable. Many people avoid it, as casts or braces are used when possible.

Risks and Recovery Timeline

Most people do well after ORIF, though rare complications can occur. These include infection, bleeding, nerve damage, blood clots and irritation from the hardware.

Recovery varies widely. Most ankle fractures take around 10 to 12 weeks to heal, although recovery can take longer depending on the severity of the injury. Complete recovery from some fractures can take up to two years.

After surgery, patients may need to keep the ankle elevated and immobile, often in a brace for several weeks. Physiotherapy can then restore strength and flexibility to the muscles.

Medical attention should be sought for unmanageable pain, numbness, tingling, increased swelling or signs of infection such as fever, chills and redness. Patients are also cautioned against walking before a physician says it is safe.

Impact on the Offensive Line

McKivitz had started 62 consecutive games, including Sunday night, and had played all 563 of the 49ers' offensive snaps entering the game. NFL Next Gen Stats ranks him first among qualified tackles in pass block win rate at 93.3 per cent this season.

He will miss the remaining seven regular-season games. Christian McCaffrey called him 'one of the heart and souls of this team' after the win.

Vederian Lowe replaced McKivitz at right tackle, and the team will ask him to handle those duties going forward. Lowe has 25 career starts and 'stepped up really big' in the game.