Texas Rangers right-hander Max Scherzer will be sidelined until midseason after undergoing surgery for a herniated disk Thursday, according to the team.

General manager Chris Young said Friday that Scherzer, who was removed from the roster during the World Series because of back discomfort, underwent surgery after injections and other less-invasive treatments didn't relieve the pain. Young said the team is hopeful the three-time Cy Young Award winner will be fully healed and recovered by June or July.

Scherzer said in a statement released by the team Friday that the back pain got worse after he returned to his offseason home in Florida and that he got the diagnosis of a herniated disk.