President Joe Biden said Thursday that U.S. drivers will continue to pay record-high gas prices for “as long as it takes” to stop Russia’s war in Ukraine, acknowledging that consumers are unlikely to see relief at the pump anytime soon. During a press conference Thursday following the NATO summit in Spain, Biden was asked how long people should expect to pay gas premiums because of Vladimir Putin’s war. “As long as it takes,” Biden said, “so that Russia cannot in fact defeat Ukraine and move beyond Ukraine.” “This is a critical, critical position for the world,” he added. Gas prices have hit record highs in recent months, part of soaring inflation that has badly hurt Biden’s approval ratings and sapped support for his spending programs. The national average for a gallon of regular gas is $4.86, according to AAA, up from $3.12 a year ago. Republicans have blamed the high prices on Biden’s green agenda and efforts to limit drilling for oil and gas.