Opec and its allies on Thursday agreed to accelerate oil production in July and August, as the cartel’s linchpin Saudi Arabia bowed to US pressure to cool a crude price rally that has threatened to stall the global economy.

The cartel said it would increase output by almost 650,000 barrels a day in both months, up from planned increases of about 400,000 b/d.

The move came just days after the EU agreed to impose a partial ban on Russian oil imports, deepening fears of global energy shortages as Moscow’s invasion of Ukraine continues to rattle markets.

Saudi Arabia and the United Arab Emirates, Opec’s two powerhouse producers, are likely to account for most of the supply increases, with Riyadh earlier signaling it was prepared to increase output to overcome Russian shortages.

The extra supplies are the first time the Saudi-led Opec+ cartel has deviated from a measured supply policy agreed in the depths of the pandemic oil crash two years ago, and comes after months of high-level US diplomacy to repair relations between Riyadh and Washington.

The White House welcomed the “important decision” and credited Saudi Arabia for “achieving this consensus amongst the group members”. It also recognized the “positive contributions of the UAE, Kuwait, and Iraq”.

The Opec decision comes just weeks ahead of a planned visit to the Middle East by US president Joe Biden, which may include a stop in Riyadh, despite a rocky relationship with Saudi Arabia’s day-to-day ruler, crown prince Mohammed bin Salman.

“Saudi Arabia is still working within the contours of the Opec+ framework to add some extra barrels under political pressure,” said Amrita Sen at consultancy Energy Aspects.

Oil prices fell sharply in early trading on Thursday after the Financial Times first reported a possible deal, with Brent crude, the international benchmark, dropping to a low near $112 a barrel from $116 a barrel at the close on Wednesday.

But prices rose marginally after Thursday’s meeting, with Brent trading above $116 a barrel, as analysts said the relatively modest supply additions may not be sufficient to calm oil markets, which have soared to the highest level in a decade since Russia invaded Ukraine, stoking inflationary pressures around the world.

An expected deal between the UK and EU to ban insurance for ships carrying Russian oil could sharply curtail Moscow’s exports later this year. Russia was pumping more than 10 percent of global crude supplies before the invasion.