The Kansas City Royals have agreed to a contract extension with Salvador Perez that extends his contract through the 2021 season.

The agreement guarantees Perez an additional $52.5 million over five years. The extension will begin in 2017 and supersede his existing deal.

Perez signed with the Royals as a 16-year-old prospect from Venezuela.