The federal government will pay thousands of dollars to settle two lawsuits challenging the arrests of protesters affiliated with the Occupy movement.

The government on Thursday agreed to pay $4,000 to Fitzgerald Scott, who sued following his arrest for wearing an “Occupy Everywhere” jacket inside the U.S. Supreme Court. In an unrelated case, the government also agreed to pay $10,000 to Anthony Michael Patterson, who claimed he was unconstitutionally arrested for using profanity.