Boston Red Sox second baseman Dustin Pedroia had season-ending surgery on his left wrist Thursday to repair a tendon, clean out scar tissue and reduce some inflammation.

The surgery was performed by Dr. Matt Liebman at Newton-Wellesley Surgery Center near Boston.

Red Sox manager John Farrell said before Thursday night’s game in Kansas City that Pedroia should be 100 percent in about six weeks, allowing him to have a normal offseason.

The four-time All-Star had been bothered by the wrist for weeks, and an MRI exam Tuesday showed increased inflammation, resulting in the surgery.

Pedroia, who also had surgery in the offseason to repair a torn ligament in his left thumb, hit just .278 with seven homers and 53 RBIs in 135 games this season.

Join our Newsletter for the latest news right to your inbox