Danilo Romanovich laid siege to Halych, and Andrew's youngest son died during the siege in the autumn of 1234. However, Andrew stormed Austria in the summer of 1235, forcing Duke Frederick to pay an indemnification for damages that his troops had caused while raiding Hungary. Upon Andrew's demand, Pope Gregory declared on 31 August that Andrew and his sons could only be excommunicated by the authorization of the Holy See. Andrew died on 21 September, and was buried in Egres Abbey.
