The federal government has agreed to pay $6.65 million in legal fees tied to the Trump administration’s failed attempt to add a citizenship question to the 2020 census.

The most recent settlement will see $2.5 million awarded to Covington & Burling and another $1.45 million to immigration and civil rights groups. Arnold & Porter and the ACLU also got $2.7 million for similar litigation in New York, and a filing deadline for a third case in California is set for Oct. 11.