Josh Beckett has told MLB.com that he will retire.

The Los Angeles Dodgers were eliminated by the St. Louis Cardinals in the NLDS on Tuesday night.

Beckett made the decision based on his health. He needs surgery to repair a torn labrum in his left hip, with reports indicating that the surgery will take place in May.

"I just don't see me going through that rehab and coming back to pitch at this point in my life," Beckett said.