New York Mets closer Edwin Diaz will undergo surgery on Thursday after suffering a tear of the patellar tendon in his right knee, the team announced. 

The timeline for the injury is around eight months, with some athletes recovering in six months, according to the Mets. 

Edwin Diaz carried off

Edwin Diaz of Team Puerto Rico is helped off the field after sustaining an injury while celebrating a 5-2 win against Team Dominican Republic during their World Baseball Classic Pool D game at loanDepot park on March 15, 2023, in Miami, Florida. (Al Bello/Getty Images)

The injury occurred during Team Puerto Rico's celebration in the World Baseball Classic on Wednesday. 

METS' EDWIN DIAZ SUFFERS INJURY DURING WORLD BASEBALL CLASSIC CELEBRATION, LEAVES FIELD IN WHEELCHAIR

After Puerto Rico clinched a spot in the WBC quarterfinals after beating the Dominican Republic, the team celebrated near the mound, which is when Diaz went down. 

Edwin Diaz carried off field

Teammates carry Edwin Diaz off the field after an apparent leg injury at loanDepot park. (Sam Navarro-USA Today Sports)

He was carried into foul territory, placed into a wheelchair and rolled into the clubhouse.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

It’s a devastating blow for the Mets, as Diaz was one of the best closers in baseball last year, putting up historic numbers. He pitched to a 1.31 ERA last season, easily the lowest of his career, striking out 17.1 batters per nine innings. 

He finished in ninth place in the NL Cy Young Award vote.

"Edwin Diaz is a great human being and a fierce competitor," Mets owner Steve Cohen said on Twitter. "All of us at the Mets are shaken but determined to sustain our quest for a great season. We wish Edwin a speedy recovery."

Edwin Diaz for puerto rico

Edwin Diaz throws a pitch at loanDepot park on March 13, 2023, in Miami, Florida. (Eric Espada/Getty Images)

The Mets signed Diaz to a historic deal in November, inking him to the richest contract for a reliever in MLB history at five years, $102 million. 

CLICK HERE TO GET THE FOX NEWS APP

"Edwin has every attribute we look for in a closer," Mets general manager Billy Eppler said after the signing. "He's a tremendous competitor, has a burning desire to be the best and possesses the stuff to compete with any hitter in the league. We are thrilled he’ll be anchoring our bullpen moving forward."

Fox News’ Ryan Morik contributed to this report