King Emeric married Constance of Aragon, from the house of Barcelona, and he may have followed Barcelonese (Catalan) patterns when he chose his coat-of-arms that would become the Árpáds' familiar badget (an escutcheon barry of eight Gules and Argent).
The Vata pagan uprising was a Hungarian rebellion which in 1046 brought about the overthrow of King Peter Urseolo, the martyrdom of St. Gellért and the reinstatement of the Árpád dynasty on the Hungarian throne.