Major League Baseball and Nike agreed to a 10-year deal Friday that will make Nike the league's official on-field apparel and merchandise designer beginning in 2020.

According to Eben Novy-Williams of Bloomberg, MLB and Under Armour originally agreed to a 10-year deal in 2016, but Under Armour later backed out, which opened the door for Nike.

Nike will replace Majestic, which is the current MLB jersey designer.

Nike will design all on-field apparel worn by MLB players, while Fanatics will distribute Nike's MLB products to consumers as a partner.