Kyle Terada-USA TODAY Sports

San Francisco 49ers quarterback Trey Lance underwent surgery on his right ankle for the second time in just over three months.

The 49ers said Saturday that Lance underwent surgery on Friday to remove hardware that was causing irritation in the ankle.

Lance initially underwent surgery on Sept. 19, one day after he fractured his fibula and sustained ligament damage during a Week 2 game against the Seattle Seahawks.

The team said the hardware issue was a product of the initial surgery.

"Due to the location of the fracture, the required hardware placement was close to a tendon in Lance's ankle," the team said. "During the rehab process, their close proximity proved to cause irritation in his ankle. After consulting with multiple experts, the decision was made to have the hardware removed to prevent future issues in the ankle."

The 49ers said Lance is expected to be recovered in time to participate in organized team activities this spring.

Lance opened the season as San Francisco's starting quarterback and completed 15 of 31 passes for 194 yards and one interception. He also rushed 16 times for 67 yards.

Jimmy Garoppolo replaced Lance but sustained a broken left foot in Week 13. Undrafted rookie Brock Purdy is now the signal caller for the 49ers (11-4), who have clinched the NFC West and have won eight straight games entering Sunday's road game against the Las Vegas Raiders.

More must-reads:

TODAY'S BEST
NHL announces 2024 Selke Trophy finalists
J.J. Watt has interesting comments on possibility of playing in 2024
Russell Westbrook reacts to reports of him leaving Clippers
Ant-Man leads Timberwolves to Game 1 upset of Nuggets
Luis Arraez makes history in Padres debut
Corey Heim dominates Truck Series race at Kansas Speedway while tempers flare on pit road
Lionel Messi sets MLS record with monster game
Watch: Anthony Edwards does it all for Minnesota
Watch: 150th Kentucky Derby ends in three-horse photo finish
Clippers could see nine-time All-Star jump ship this summer
Phillies get rough injury news on Trea Turner
Watch: Yankees star Aaron Judge receives first career ejection after arguing called third strike
Mavericks lose key player for 'significant period of time'
Blue Jays manager John Schneider blasts team after latest loss
Lakers make another big change after firing Darvin Ham
Draymond Green doubles down on Knicks' inability to win a championship
Phillies lose two-time All-Star to injured list
NBA announces punishment for Lakers star over actions in elimination game
Heat may be cooling on Jimmy Butler's long-term future
NFL insider defends former Steelers QB Kenny Pickett from 'bust' label