Zach Eflin has landed a notable contract with Rays. Kyle Ross-USA TODAY Sports

The Tampa Bay Rays are breaking the bank (at least relatively speaking) for an unexpected player.

The Rays agreed to a three-year, $40 million contract with free-agent right-hander Zach Eflin on Thursday, per multiple reports. Jeff Passan of ESPN notes that the contract is the largest for a free agent in Rays club history.

The 28-year-old Eflin, a native of Orlando, is a fairly obscure name. He has never made an All-Star team, is not a very dynamic swing-and-miss pitcher and has a pedestrian 36-45 record with a 4.49 ERA over his MLB career. While Eflin has versatility as either a starter or a reliever and posted a solid 3.56 FIP last season, he also carries with him a history of knee issues.

Tampa Bay has handed out much larger extensions before. (The 11-year, $182 million deal they gave shortstop Wander Franco last year is one that comes to mind.) But Eflin is now the owner of the biggest true free-agent contract in the Rays’ quarter-century history. Giving that kind of distinction to a mid-rotation pitcher is pretty surprising, especially since it effectively takes Tampa Bay out of the running for this other rumored target of theirs.

More must-reads:

TODAY'S BEST
Insider breaks down Bears' approach at pick No. 9
Cowboys make unsurprising move with Micah Parsons
Lions WR Amon-Ra St. Brown shares warning after contract extension
Stars winger wins AHL Rookie of the Year
Caleb Williams hopes Bears draft ex-teammate with No. 9 pick
Nine-time NBA All-Star to re-sign with current club?
Tiger Woods' son falls short in improbable U.S. Open quest
Lions 'not close' on extension talks with QB Jared Goff
Analyst has shocking update on former three-time MLB Manager of the Year
London mayor eyeing Super Bowl bid, other hosting opportunities for major sporting events if re-elected
Rome Odunze raves about Michael Penix Jr. ahead of draft
Jimmy Butler trolls Celtics after Game 2 win: 'Don't let us get one'
Heat play 'Herro ball' to stun Celtics in Game 2
Lions extension makes Amon-Ra St. Brown the NFL's highest-paid receiver
Brad Marchand gets winner as Bruins beat Leafs to go up 2-1 in series
Reigning Cy Young winner's disastrous 2024 continues
Timberwolves C overcomes long odds, wins Sixth Man of the Year
Watch: Aaron Judge passes Derek Jeter on Yankees all-time home run list
Why it makes sense that the Steelers declined QB Justin Fields' fifth-year option
Heisman Trust's Reggie Bush decision another sign of NCAA's diminishing power