A federal judge says BP will begin paying up to $1 billion in settlements to compensate local governments across the Gulf Coast for lost tax revenue and other economic damages they blame on the company’s 2010 oil spill.

An order issued Monday by U.S. District Judge Carl Barbier said all of the payments to local governments must be made within 30 days.