Spanish authorities had accused Shakira of failing to pay more than 14.5 million euros — roughly $15.8 million — in income taxes between 2012 and 2014. On Monday, the Colombian singer told the presiding magistrate that she had reached an agreement with prosecutors. According to the Associated Press, Shakira will receive a suspended three-year sentence as part of the deal, as well as pay a fine of 7.3 million euros.

Prosecutors had initially sought an eight-year prison sentence and a fine of 24 million euros.