A group of boyars, who were alarmed by the despotic acts of Vladimir Igorevich, asked Andrew to restore Daniel Romanovich as ruler of Halych in 1210 or 1211. Andrew and his alliesLeszek I of Poland and at least five Rus' princessent their armies to Halych and restored Daniel Romanovich. Local boyars expelled Daniel Romanovich's mother in 1212. She persuaded Andrew to personally lead his army to Halych. He captured Volodislav Kormilchich, the most influential boyar, and took him to Hungary. After Andrew withdrew from Halych, the boyars again offered the throne to Mstislav Mstislavich, who expelled Daniel Romanovich and his mother from the principality. Andrew departed for a new campaign against Halych in summer 1213. During his absence, Hungarian lords who were aggrieved at Queen Gertrude's favoritism towards her German entourage captured and murdered her and many of her courtiers in the Pilis Hills on 28 September. When he heard of her murder, Andrew returned to Hungary and ordered the execution of the murderer, Peter, son of Töre. However, Peter's accomplices, including Palatine Bánk Bár-Kalán, did not receive severe punishments. A group of Hungarian lords, whom Andrew called "perverts" in one of his letters, was plotting to dethrone Andrew and crown his eldest son, the eight-year-old Béla, but they failed to dethrone him and could only force Andrew to consent to Béla's coronation in 1214.