The first dynasty of Halych, descending from Vladimir of Novgorod, a Rurik family branch known as Rostislavichi, culminated in Yaroslav Osmomysl (1153–1187) – after whose rule Béla III of Hungary briefly conquered the Principality in 1188—before going extinct in 1199. The same year Roman the Great founded the new Rurikid dynasty, uniting Halychyna and Volhynia into the more powerful principality of Halych-Volhynia. In 1141 Prince (knyaz) Volodymyrko Volodarovych (1104–1152) who united the competing principalities of Przemyśl, Zvenyhorod and Terebovlya into the state of Halychyna transferred his capital from Zvenyhorod to Halych making it the seat of his Rurikid dynasty and considerably expanding the settlement.