LVIV, Ukraine (AP) — Russian missiles hit Lviv in western Ukraine on Monday, killing at least seven people, Ukrainian officials said, as Moscow’s troops stepped up strikes on infrastructure in preparation for an all-out assault on the east.

Plumes of thick, black smoke rose over the city after a series of explosions shattered windows and started fires. Lviv and the rest of western Ukraine have seen only sporadic strikes during almost two months of war and have become a relative refuge for people from parts of the country where fighting has been more intense.

Ukrainian Prime Minister Denys Shmyhal, meanwhile, vowed to “fight absolutely to the end” in strategically vital Mariupol, where the last known pocket of resistance in a seven-week siege was holed up in a sprawling steel plant laced with tunnels. Russia has repeatedly urged forces there to lay down their arms, but those remaining ignored a surrender-or-die ultimatum on Sunday.

Lviv Mayor Andriy Sadovyi said seven people were killed and 12 wounded in overnight missile strikes. Lviv's regional governor, Maksym Kozytskyy, said the Russian strikes hit three military infrastructure facilities and a tire shop. He said the wounded included a child, and emergency teams were battling fires caused by the strikes

A hotel sheltering Ukrainians who had fled fighting farther east was among the buildings badly damaged in the attack, the mayor said.

“The nightmare of war has caught up with us even in Lviv," said Lyudmila Turchak, 47, who fled with two children from the eastern city Kharkiv. "There is no longer anywhere in Ukraine where we can feel safe.”

Military analysts say Russia is increasing its strikes on weapons factories, railways and other infrastructure targets across Ukraine to wear down the country’s ability to resist a major ground offensive in the Donbas, Ukraine’s mostly Russian-speaking eastern industrial heartland.

The Russian military said missiles struck more than 20 military targets in eastern and central Ukraine in the past day — including ammunition depots, command headquarters and groups of troops and vehicles. Meanwhile, it said artillery hit another 315 Ukrainian targets, and warplanes conducted 108 strikes on Ukrainian troops and military equipment. The claims couldn’t be independently verified.

Gen. Richard Dannatt, a former head of the British Army, told Sky News the strikes were part of a “softening-up” campaign by Russia ahead of a planned ground offensive in the Donbas.

Ukraine’s government halted civilian evacuations for a second day on Monday, saying Russian forces were shelling and blocking the humanitarian corridors.

Deputy Prime Minister Iryna Vereshchuk said Ukraine had been negotiating passage from cities and towns in eastern and southeastern Ukraine, including Mariupol and other areas in the Donbas. The government of the Luhansk region in the Donbas said four civilians trying to flee were shot dead by Russian forces.

Russia is bent on capturing the Donbas, where Moscow-backed separatists already control some territory, after its attempt to take the capital, Kyiv, failed.

“We are doing everything to ensure the defense” of eastern Ukraine, President Volodymyr Zelenskyy said in his nightly address to the nation on Sunday.

The looming offensive in the east, if successful, would give Russian President Vladimir Putin a badly needed victory to sell to the Russian people amid the war’s mounting casualties and the economic hardship caused by Western sanctions.

The capture of Mariupol is seen as a key step in preparations for any eastern assault since it would free Russian troops up. The fall of the city on the Sea of Azov would hand Russia its biggest military victory of the war, giving it full control of a land corridor to the Crimean Peninsula, which it seized in 2014, and depriving Ukraine of a major port and prized industrial assets.

Ukrainian Deputy Defense Minister Hanna Malyar has described Mariupol as a “shield defending Ukraine."

The city has been reduced to rubble in the siege, but a few thousand fighters, by Russia's estimate, held on to the giant, 11-square-kilometer (4-square-mile) Azovstal steel mill.

“We will fight absolutely to the end, to the win, in this war,” Shmyhal, Ukraine's prime minister, vowed Sunday on ABC’s “This Week.” He said Ukraine is prepared to end the war through diplomacy if possible, “but we do not have intention to surrender.”

Many Mariupol civilians, including children, are also sheltering at the Azovstal plant, Mikhail Vershinin, head of the city’s patrol police, told Mariupol television.

An estimated 100,000 people remained in the city out of a prewar population of 450,000, trapped without food, water, heat or electricity.

There appeared to be little hope of military rescue. Foreign Minister Dmytro Kuleba told CBS’ “Face the Nation” on Sunday that the remaining Ukrainian troops and civilians there are basically encircled.

The relentless bombardment and street fighting in Mariupol have killed at least 21,000 people, by Ukrainian estimates. A maternity hospital was hit by a lethal Russian airstrike in the opening weeks of the war, and about 300 people were reported killed in the bombing of a theater where civilians had taken shelter.

After the humiliating sinking of the flagship of Russia’s Black Sea Fleet last week in what the Ukrainians boasted was a missile attack, the Kremlin had vowed to step up strikes on Ukraine's capital.

Ukraine says it hit the Russian warship Moskva with two Neptune missiles; Russia said only that it sank while being towed after a fire. Russia said its crew evacuated, but their fates remained unclear. Footage posted by the Russian military on Sunday showed Russia’s naval commander inspecting rows of sailors, identified as being from the ship, in the Moskva’s home port of Sevastopol in Crimea. It was unclear how many sailors were in the group.

Aerial attacks have hit the capital of Kyiv and the eastern city of Kharkiv, where shelling on Monday killed at least three people and injured three others, according to AP journalists on the scene. One of the dead was a woman who appeared to be going out to collect water in the rain. She was found lying bloodied with a water canister and umbrella by her side.

At least five people were killed by Russian shelling in Kharkiv, Ukraine’s second-largest city, on Sunday, regional officials said. Zelenskyy called Sunday's bombing in Kharkiv “nothing but deliberate terror.”

Zelenskyy also appealed for a stronger response to what he said was the brutality of Russian troops in parts of southern Ukraine.

“Torture chambers are built there,” he said. “They abduct representatives of local governments and anyone deemed visible to local communities.”

He again urged the world to send more weapons and apply tougher sanctions against Moscow.

___

This story has been updated to correct the attribution on the first partial quote about fighting to the end to Ukraine’s prime minister, not president.

___

Associated Press journalist Nico Maounis in Lviv contributed as did AP staff around the world.

___

Follow the AP’s coverage of the war at https://apnews.com/hub/russia-ukraine

Copyright 2022 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed without permission.