Google is to pay French authorities almost €1bn (£900m) to end a long-running investigation into its taxes.
The settlement includes a €500m fine and additional taxes of €465m, but it is less than the tax bill authorities had accused Google of evading.
It rounds off a four year investigation that saw authorities raid Google's Paris headquarters in 2016.
Investigators said Google owed about €1.6bn in unpaid taxes amid a wider crackdown on tax planning of big firms.
French authorities had been seeking to establish whether Google, which has its European headquarters in Dublin, failed to declare some of its activities in the country.
The search giant, which is part of Alphabet, pays little tax in most European countries because it reports almost all of its sales in Ireland.
It is able to do that thanks to a loophole in international tax law. However, that loophole hinges on staff in Dublin concluding all sales contracts.
The agreement allows Google "to settle once for all these past disputes," said Antonin Levy, one of the firm's lawyers.
In January, France fined Google €50m a breach of the EU's data protection rules.