Mexican First Lady Angelica Rivera has returned the $7 million mansion she bought from a firm that had won lucrative contracts with the administration of President Enrique Pena Nieto.

Rivera said late last year she was buying the house from the company on monthly payments with money she earned as an actress. The company held the title to the mansion until it was paid off. Rivera said last year she would sell off her rights to the property.

Government comptroller Virgilio Andrade said Friday that Rivera had reached an agreement with the company to pay about $635,000 (10.5 million pesos) in rent for the nearly three years she used the property.

The company agreed to return about $875,000 (14.5 million pesos) she had made in payments on the mansion.