BRIDGEWATER, N.J. — President Trump said Saturday that he has asked Saudi King Salman to increase oil production to help ease pressure on rising gas prices, which have threatened to stifle economics benefits for Americans from the Republican tax cut bill.

In a morning tweet from his private Bedminster golf club, Trump said he made the request during a conversation with Salman, citing the “turmoil” and dysfunction in Venezuela and Iran for driving up prices at the pump.

The average per-gallon price for gasoline in the United States was $2.85, a jump of 63 cents from a year ago, according to AAA. Prices over the past two months have been higher than any time since late 2014, according to the Energy Information Administration.

Trump’s tweet caps an unsettling week for oil prices. Just a week ago, the Organization of the Petroleum Exporting Countries reached an agreement to gradually increase output by about 700,000 barrels a day to stabilize oil prices and offset lost production in Venezuela, where political and oil patch upheaval has led to a drop of exports. The cartel, which had curtailed production in 2016, also said it would boost output more later in the year to offset limits on Iranian oil sales resulting from the re-imposition of U.S. sanctions on Iran.

But oil prices have climbed steadily since the OPEC meeting, and gasoline prices at the pump will rise, too, in the middle of peak driving season.

That has led Democrats to lay the blame on the White House, highlighting Trump’s decision to pull the United States out of the Iran nuclear deal as a factor in the tightening global oil supply.

“President Trump’s reckless decision to pull out of the Iran deal has led to higher oil prices,” Senate Minority Leader Charles E. Schumer (D-N.Y.) said last month during a photo op outside an Exxon station. “These higher oil prices are translating directly to soaring gas prices, something we know hurts middle- and lower-income people.”

[The Energy 202: Democrats ding Trump on gas prices, just as Trump once did to Obama]

The impact of rising gas prices in offsetting the pocketbook benefits of the tax cuts approved by Congress in December could dampen public enthusiasm over the economy ahead of the midterm elections. Trump should know about the potential political consequences, having routinely blamed Barack Obama when prices rose during that administration.

Trump said he asked the Saudi king to crank up production by as much as 2 million barrels a day, which would bring Saudi production close to its maximum capacity. But oil experts were cautious about whether that would actually reduce international prices or raise anxiety further.

“If the Saudis were really to raise output by 2 million barrels a day, their maximum capacity according to the International Energy Agency, that may backfire from an oil price standpoint by leaving the oil market with no meaningful spare capacity to handle any possible future supply problems, from geopolitics in places like Iran or Libya to hurricane season to any other issues,” said Jason Bordoff, director of the center for global energy at Columbia University.

The overt pressure brought by Trump on Saudi Arabia is unusual, but the kingdom has been actively urging the president to withdraw from the international agreement that placed restrictions on Iran’s nuclear program. When Trump withdrew and reimposed sanctions, that meant Iranian exports would come under pressure.

Saudi Arabia is the world’s largest exporter of crude oil, exporting 7 million barrels a day.

“This is not just about turning the spigot a little further. This would be extraordinary,” said Robert McNally, president of the consulting firm Rapidian Energy Group. McNally, who served on President George W. Bush’s National Security Council, said, “It reminds me of when the Federal Reserve undertakes an emergency injection of liquidity gets people worried. This is like that. The president is asking the central bank of oil to make a massive injection of liquidity into the market.”

The Saudi official government press agency gave a more ambiguous description of the king’s discussion with Trump. It did not give a figure for expanding production. “The two leaders stressed the need to make efforts to maintain the stability of oil markets, the growth of the global economy, and the efforts of producing countries to compensate for any potential shortage of supplies,” Riyadh said in a statement.

The oil markets were also shaken last week when a senior State Department official said that the United States would ask countries to reduce their purchases of Iranian oil to “zero.” This far exceeded expectations in the oil markets. When President Obama sought to ramp up pressure on Iran, he sought “significant” reductions in other countries’ purchases of Iranian oil and that meant about 20 percent cuts.

At the OPEC meeting last week, Iran’s oil minister said that the cartel should not be influenced by Trump and should deal with supply and demand. Trump has twice before called on OPEC to boost production to bring down prices, including a tweet on the eve of OPEC negotiations in Vienna.

Iranian exports have been running around 2.4 million barrels a day, according to the International Energy Agency. Venezuela’s production has fallen to 1.4 million barrels a day, about a million barrels a day less than it produced two years ago.

In addition, Libya’s output has fluctuated as groups fighting one another disrupt supplies. Last week, one group said that oil fields in the eastern part of the country would be split off into a new national oil company separate from the existing one. Two tankers refused to dock at a port in eastern Libya because they did not have permission from eastern Libyan forces.

Mufson reported from Washington.