THE HAGUE, Netherlands (AP) — Dutch prosecutors say Uber has agreed to an out-of-court settlement of more than 2 million euros ($2.24 million) linked to an illegal service the ride hailing company offered in the Netherlands.

Prosecutors said Friday that Uber agreed to pay the fine and forfeit 309,409 euros ($347,196) of “criminal proceeds.”

The settlement was linked to a service called UberPop that Uber offered from July 2014 until November 2015. Prosecutors say it let drivers offer lifts despite not having a taxi license, which is required under Dutch law.

The person responsible for rolling out UberPop in the Netherlands has completed 90 hours of community service. Prosecutors have not released the person’s identity.

Uber said in an email: “We have changed the way we do business across the world.”