Sen. John Kennedy, R-La., said Sunday that he expects the United States to end its involvement in the war with Iran within roughly six months, arguing that the conflict has contributed to higher oil, fertilizer, and consumer prices.

Kennedy made the remarks while campaigning for Sen. Pete Ricketts, R-Neb., at a steak fry luncheon in Nebraska. He said the United States is “achieving our objectives” in Iran but did not provide details about those objectives. He also tied the conflict to higher energy costs, saying oil prices have increased as the Strait of Hormuz has been disrupted.

“When that happens, you're going to see the price of oil go down, and you're going to see inflation go down,” Kennedy said, referring to his expectation that U.S. involvement will end within six months.

Kennedy made a similar prediction Saturday in Iowa, where he spoke at the Iowa Faith and Freedom Coalition’s annual fall fundraiser. He said the war was contributing to inflation and that oil prices and inflation could decline when the conflict concludes.

His comments came as oil prices remained elevated amid disruptions involving the Strait of Hormuz. On Sunday, President Donald Trump said he was in a “deciding mode” regarding Iran as his administration considered its next steps in the conflict.

Kennedy has previously supported maintaining pressure on Iran. In August, he said continued sanctions and a blockade were preferable to accepting what he considered a bad deal, while also cautioning that renewed military action could increase energy prices and inflation.

Kennedy is traveling through Iowa, Kansas, and Nebraska this fall to campaign for Republican Senate candidates, including Ricketts in Nebraska and Rep. Ashley Hinson in Iowa.