The U.S. Department of Justice has now agreed to pay a total of more than $9 million in attorney fees and other costs stemming from lawsuits that successfully stopped the Trump administration’s plan to include a citizenship question on the 2020 census.

The DOJ had settled attorney fees and costs in cases in Maryland and New York earlier this year, for a total of $6.65 million. But two recent settlements in the U.S. District Court for the Northern District of California adds another $2.4 million to the federal government’s final tab, according to copies of the agreements provided by the Justice Department.