 William VIII struggled to get the church, the townspeople and neighbouring lords to recognise the legitimacy of his second marriage and his son.William IX had five full brothers and two full sisters.William IX succeeded his father in 1202 in accordance with the latter's final will and testament (dated that same year) and in contravention of the marriage treaty with Eudokia.