 As Jadwiga's co-ruler, Jagiełło worked closely with his wife.After rebellious nobles of the Kingdom of Hungary-Croatia had imprisoned her mother and sister, she marched into the Kingdom of Galicia–Volhynia, which had been under Hungarian rule, and persuaded most of the inhabitants to become subjects of the Polish Crown.She mediated between her husband's quarreling kin, and between Poland and the Teutonic Knights.