NEW YORK (AP) " A Spanish sports media company must pay a hefty penalty after its affiliate in the U.S. pleaded guilty to charges it bribed Latin American soccer officials.

A New York City judge ordered the company Imagina on Tuesday to pay more than $24 million in fines and restitution on charges stemming from the U.S. corruption investigation of FIFA, the international football league.

A lawyer for the Florida-based affiliate admitted in court that the company bribed the officials in exchange for marketing rights to qualifying games for the 2014, 2018 and 2022 World Cups.

The allegations included an agreement by the company to split the cost of a $3 million bribe to Jeffrey Webb, then president of the governing body for the sport in the region.

Webb has pleaded guilty and awaits sentencing.