Following the Galicia–Volhynia Wars, the Kingdom of Galicia–Volhynia was divided between Poland and Lithuania. In 1349 the Polish portion was transformed into the Ruthenian domain of the Crown, while the Duchy of Volhynia was held by Prince Lubart. With the death of Casimir III the Great, the Kingdom of Poland was passed on to the Kingdom of Hungary and the Ruthenian domain was governed by Ruthenian starosta general, one of whom was Wladyslaw of Opole.