Updated

KANSAS CITY, Mo. (AP) -- The Royals and Danny Duffy have agreed to a five-year, $65 million contract that will keep the popular left-hander in Kansas City.

Duffy will make $5 million this year, $14 million in 2018, $15.25 million each in 2019 and 2020 and $15.5 million in 2021.

Duffy was eligible for arbitration this offseason and would have been eligible for free agency after the World Series. Now, he will remain with the team that chose him in the third round of the 2007 amateur draft, helped him to recover from Tommy John surgery and gave him a chance to be a World Series champion.