On May 7, Chevron Corp . (NYSE: CVX) reached a settlement with Patton Boggs LLP , a law and lobbying firm, over counterclaims it had filed in federal court against Patton Boggs regarding its role in a lawsuit against Chevron in Ecuador, according to a Chevron Corp. press release.

The Washington, D.C.-based law and lobbying firm resolved those counterclaims by withdrawing from the suit in Ecuador, according to the press release. Additionally, Patton Boggs issued a statement, assigned its interests in the litigation to Chevron and paid $15 million to the company, according to the press release.

In turn, Chevron agreed to release all claims against Patton Boggs and its partners, the press release said.

In the press release, Hewitt Pate , Chevron’s vice president and general counsel, said the company was pleased that the matter was settled.

The matter began after Judge Lewis Kaplan , of the U.S. District Court for the Southern District of New York, ruled that a judgment brought against Chevron in Ecuador by attorney Steven Donziger was unenforceable in the U.S., the press release said. The ruling was made March 4, the press release said.

Kaplan held Donziger liable for violations related to racketeering, the press release said. Patton Boggs had worked with Donziger and the plaintiffs in Ecuador’s Lago Agrio region since 2010, filing three suits in the U.S. against Chevron, the press release said.

The May 7 settlement resolved the counterclaims that Chevron brought against Patton Boggs after Kaplan ruled that it could do so on March 31, the press release said.

San Ramon, Calif.-based Chevron is an energy company working worldwide.