LOS ANGELES — Dodgers pitcher Josh Beckett, facing surgery for a torn labrum in his left hip that caused him to miss most of the last three months of the season, has retired at 34, ending a 14-year career that included two World Series championships.

He threw a no-hitter in May, but landed on the disabled list for the third time in early August with a left hip impingement after being on the DL in July for the same injury. He was 6-6 with a 2.88 ERA in 20 starts, including the no-hitter May 25 at Philadelphia.

Beckett’s first time on the DL was in March, when he had a bruised right thumb.

He announced his decision to retire in St. Louis after the Dodgers were eliminated in the National League Division Series on Tuesday night, according to MLB.com.

Rockies

O’DOWD LEAVES AS GM: In Denver, Colorado Rockies General Manager Dan O’Dowd and senior vice president Bill Geivett are leaving the front office after the team turned in a fourth straight losing season.

Jeff Bridich is taking over as the new GM. O’Dowd spent 15 seasons in charge of the Rockies, the highlight of which was an appearance in the 2007 World Series, where the team was swept by Boston. His power dwindled in recent years with the rise of Geivett, who was promoted to senior vice present of baseball operations in August 2012. He had an office next to manager Walt Weiss in the clubhouse.

The Rockies finished 66-96 and 28 games behind the Los Angeles Dodgers in the NL West.

Bridich has been the team’s senior director of player development since 2011.