The Nationals have agreed to terms with star right fielder Bryce Harper on a contract for the 2018 season, the team announced Saturday.

Harper will make $21.625 million next season, as first reported by FanRag Sports and confirmed by ESPN.

The agreement locks up Harper for his final arbitration-eligible year. He can become a free agent after the 2018 season.