Jason Heyward has agreed to sign with the Chicago Cubs.

The deal is for eight years and $184 million, according to multiple reports.

The St. Louis Cardinals and Washington Nationals also pursued Heyward.

The Cardinals traded for Heyward last offseason. Heyward posted a WAR of 6.5, the most among Cardinals position players by a considerable margin. 

Heyward had an OPS of .797 in 2015 and is considered one of the best defensive outfielders in the MLB.

According to a Fox Sports report, the Nationals bid $200 million for Heyward, and another team, believed to be the Cardinals, also offered $200 million, meaning Heyward took less money to play for the Cubs.