In the middle of the
11th century, a significant part of the country's population practiced their ancient faith, and many of the lords did not want to adopt the new religion.
Andrew I returned to Hungary after the end of the fighting. He ceded a third of the country to
Béla, who, based on the principle of seniority, expected to receive the entire kingdom after his brother's death. Andrew I, on the other hand, supported
primogeniture, so he wanted to leave the crown to his infant son
Solomon. The inheritance dispute led to a civil war, during which Béla defeated his brother in
1060, who was killed. Béla was crowned king, and in
1061 he convened a parliament in
Székesfehérvár in order to strengthen his rule. In addition to the faithful nobility, many others demanded the restoration of the old order, including the destruction of
Christian churches and the execution of Christian priests. They also wanted to restore the Hungarian pagan religion as the
state religion. == Revolt ==