 The U.S. Environmental Protection Agency had investigated the extent of the oil spills and oversaw BPXA's cleanup.When BP XA did not fully comply with the terms of the CAO, a complaint was filed in March 2009 alleging violations of the Clean Water Act, the Clean Air Act and the Pipeline Safety Act.In July 2011, the U.S. District Court for the District of Alaska entered a consent decree between the United States and BPXA resolving the government's claims.