Oil companies will once again have to pay a tax to fund oil spill cleanups thanks to Congress's new budget signed into law early Friday morning.

Senators voted to reinstate the 9 cents per barrel tax on both domestic crude oil and imported crude and petroleum products as part of an "extenders" tax bill package. The package was included in the Senate's budget deal passed Thursday and would put the oil tax back into effect starting March 1, according to Politico.

The tax on companies selling oil within the U.S. generated an average annual revenue of $500 million, according to the Congressional Research Service. But Republican leaders decided against renewing the tax in December, causing it to lapse at the end of the year.

The lapse was met with heavy criticism from the public and environmentalists.

ADVERTISEMENT

"The Oil Spill Liability Trust Fund ensures that when there is a spill, American taxpayers are not left holding the bag to clean up Big Oil's mess," Sen. Ed Markey Edward (Ed) John MarkeyDemocratic senator calls for eliminating filibuster, expanding Supreme Court if GOP fills vacancy McConnell says Trump nominee to replace Ginsburg will get Senate vote Massachusetts town clerk resigns after delays to primary vote count MORE (D-Mass.) said in a statement at the time. "We should have a robust trust fund — not just trust that oil companies will do nothing wrong — in case a disaster like the BP spill happens again."

The oil tax is the primary contributor to the Oil Spill Liability Trust Fund, which is used to pay for oil spill cleanups similar to the BP Deepwater Horizon oil spill.

The fund contained $5.8 billion at the time of the lapse, a senior financial analyst with the Coast Guard's National Pollution Fund Center, which oversees the trust fund, told The Times-Picayune at the time.