Lviv (/ləˈviːv/ lə-VEEV or /ləˈviːf/ lə-VEEF; Ukrainian: Львів [ˈlʲviu̯] ; Polish: Lwów [ˈlvuf] ; see below for other names) is the largest city in western Ukraine, as well as the fifth-largest city in Ukraine, officially with a population of 723,403 (2025 estimate). It serves as the administrative centre of Lviv Oblast and Lviv Raion, and is one of the main cultural centres of Ukraine. Lviv also hosts the administration of Lviv urban hromada. It was named after Leo I of Galicia, the eldest son of Daniel, King of Ruthenia.
Lviv (then Lwów) emerged as the centre of the historical regions of Red Ruthenia and Galicia in the 14th century, superseding Halych, Chełm, Belz, and Przemyśl. It was the capital of the Kingdom of Galicia–Volhynia from 1272 to 1340, when it went to King Casimir III the Great of Poland in a war of succession. In 1356, Casimir the Great granted it town rights. From 1434, it was the regional capital of the Ruthenian Voivodeship in the Kingdom of Poland. In 1772, after the First Partition of Poland, the city became the capital of the Habsburg semi-autonomous Polish-dominated Kingdom of Galicia and Lodomeria. From 1918, between the wars, the city was the centre of the Lwów Voivodeship in the Second Polish Republic. There it flourished in culture, industry and academia such as the Lwów School of Mathematics, the Lwów Historical School (Polish: lwowska szkoła historyczna) and the Lwów School of Economics. After the German-Soviet invasion of Poland in 1939, the massacre of Lwów professors took place, and Lwów was eventually annexed by the Soviet Union.