Following the death of his son, Emeric (September 2, 1031), King Stephen I assigned his sister's son, the Venetian Peter Orseolo as his heir which resulted in a conspiracy led by his cousin, Vazul, who had been living imprisoned in Nyitra (today "Nitra" in Slovakia).