NEW YORK (CBSNewYork)Michael Pineda’s season is officially over.

The Yankees pitcher will undergo season-ending Tommy John surgery Tuesday after Cincinnati Reds medical director Dr. Timothy Kremchek confirmed an earlier recommendation, the Yankees announced.

READ MORE: Video Simulation Shows What Empire Wind Project, Off Long Island And N.J., Will Look Like From Shore

Pineda sought a second opinion after a doctor last week recommended the procedure to repair a partially torn ulnar collateral ligament in his right elbow. The surgery will be performed by Kremchek in Cincinnati.

Michael Pineda pitching

Yankees’ Michael Pineda delivers a pitch in the first inning during MLB game action against the Toronto Blue Jays on April 13, 2016 at Rogers Centre in Toronto, Ontario, Canada. (Photo by Tom Szczerbowski/Getty Images)

Yankees general manager Brian Cashman said Friday that Pineda did not mention he was feeling discomfort in the elbow until a couple of days after his last start, on July 5.

READ MORE: Got An Ant Problem? Expert Explains Reasons For Recent Surge And Offers Prevention Tips

MORE: Sweeny: Judge’s Series In Boston Was Awful, But Don’t Overreact To It

Pineda went 8-4 this season with a 4.65 ERA. He struggled in recent outings, going 2-2 with a 6.14 ERA over his last seven starts.

MORE NEWS: Connecticut Becomes 19th State To Legalize Recreational Marijuana

The 28-year-old pitcher is set to become a free agent after this season, meaning he might have played his last game in pinstripes. Not only will Pineda miss the rest of this season, he is in jeopardy of missing the start of the 2018 season.