 In addition, both the Swedes and the Ottoman Turks made unsuccessful attempts to conquer the city.Recent archaeological excavations show that the area of Lviv has been populated since at least the 6th century.The area between the Castle Hill and the river Poltva was settled by the Lendians (Lędzianie), a West Slavic tribe since the 9th century.Lviv

In 981, the Cherven Cities where conquered by Włodzimierz the great and came under the rule of Kievan Rus, after the Kiev expedition he again began in the early Piast monarchy of Bolesław the Brave and Mieszko II (1018–1031), and then occupied by the princess of Kiev, Jarosław the Wise in 1031.