Jayne Kamin-Oncea-USA TODAY Sports

Adding to a rotation that was shaky beyond the top two, the Arizona Diamondbacks agreed to a four-year, $80 million contract with left-hander Eduardo Rodriguez, multiple media outlets reported Wednesday night.

Rodriguez, 30, spent the past two seasons with the Detroit Tigers, vetoing an in-season trade that would have sent him to the Los Angeles Dodgers.

He went 13-9 with a 3.30 ERA in 26 starts this year, the fifth time he posted double-digit wins in his eight major league seasons.

Rodriguez signed a five-year, $77 million with the Tigers in November 2021, but he opted out of the last three years and $49 million to hit free agency this winter.

The move apparently paid off with the Arizona agreement.

Rodriguez pitched for the Boston Red Sox from 2015-19 and in 2021, sitting out the 2020 season because of a heart condition. He helped the Red Sox win the 2018 World Series, then went 19-6 with a 3.81 ERA in 34 starts the following year.

In 202 career games (196 starts), Rodriguez has a career 82-53 record with a 4.03 ERA. He has 1,107 strikeouts and 376 walks in 1,100 1/3 innings.

The Diamondbacks advanced to the World Series this year even though their rotation was shaky behind right-handers Zac Gallen and Merrill Kelly.

More must-reads:

TODAY'S BEST
Timberwolves chew up Nuggets to force Game 7
Watch: Chris Kreider's natural third-period hat trick shatters Hurricanes' comeback hopes
Dodgers starter undergoes season-ending UCL surgery
Knicks star ruled out for potential closeout game
Veteran NFL safety will either play for this team or retire in 2024
Former Red Wings head coach linked to open NHL job
How Patriots' Drake Maye has already impressed Jacoby Brissett
LeBron James, Giannis Antetokounmpo, Stephen Curry among Forbes' highest-paid athletes for 2024
Steve Cohen addresses if Mets could again be trade-deadline sellers
Tiger Woods ruins strong first round with sloppy finish at PGA Championship
Xander Schauffele makes history in first round of PGA Championship
NFL responds to speculation about Chiefs schedule and Taylor Swift
Despite hopes for change, NASCAR championship weekend will return to Phoenix in 2025
Chiefs will achieve something not done since 1927 with 2024 schedule
Caitlin Clark's debut was most-watched WNBA game in more than 20 years
Yankees' Aaron Judge comments on resurgence after bad slump
Odell Beckham Jr. reveals why he was 'hesitant' to join Dolphins
Lakers reportedly interested in adding three-time All-Star via trade
Luka Doncic fed off negative reactions in Game 5 win over Thunder
Celtics finally put away undermanned Cavaliers, advance to conference finals