The next happened in 1079. Emperor Henry IV, who frequently resided in Fritzlar, was faced with an insurrection led by the pretender king Rudolf of Swabia (Rudolf of Rheinfelden), who had been supported by the Pope. Having submitted to the Pope at Canossa in 1077, Henry had gone to Fritzlar. A papal legate was not able to arrange an end to the dispute, and in early 1079 an army of Saxons, partisans of Rudolf, attacked Henry in Fritzlar. He fled, and town and church were sacked and destroyed.