Matt Harvey won’t be on the mound for the New York Mets again this season. The 27-year-old former ace had been struggling through a brutal year and now it’s over, as he will undergo surgery for thoracic outlet syndrome.

Harvey will undergo surgery in St. Louis at the hands of specialist Dr. Robert Thompson, and there isn’t a timetable for his return yet. Thoracic outlet syndrome can lead to a complete loss of function in an arm if left untreated. Surgery will take pressure off the nerves currently compressed in Harvey’s shoulder. TOS can sometimes be treated with steroids to mitigate the swelling, but it sounds like Harvey was going to need surgery eventually anyway.

Harvey had a 4-10 record in 17 starts this season, while posting a 4.86 ERA, 1.47 WHIP and just 76 strikeouts in 92.2 innings. He allowed 50 earned runs, 25 walks and 111 hits, which were brutal totals for a guy of his talent level. Fangraphs’ WAR calculations were kind to Harvey, giving him a 1.9 mark this year, which currently ranks 31st among all pitchers in baseball. But he posted just a 0.1 WAR according to ESPN, which ranks around 289th in the majors.

The Mets entered Friday three games behind the Washington Nationals for first place in the National League East. Obviously not having a guy they have groomed to be their ace pitching at his best this year is a huge blow to the team. That said, Harvey was actually hurting them team every time he was on the bump this season. It’s probably a good thing for everyone that he’s set to undergo surgery and can sit back and try to figure out what’s been wrong with him all year.