The city of Philadelphia has agreed to stop allowing law enforcement to profit from civil forfeiture, a controversial practice involving the seizure and sale of private property from a criminal suspect. The city has also agreed to set up a $3 million fund to compensate those affected by it.

The settlement was announced Tuesday morning and concludes a 2014 federal lawsuit filed by the Institute for Justice, which had brought the case on behalf of Chris Sourovelis and several other plaintiffs who have had property taken by law enforcement through civil forfeiture.