Once absolved the emperor hurried home, raised an army and marched on Rome. The pope was aided by the Normans but the contest proved disastrous for Gregory and he died in exile. The quarrel continued until Henry V of Germany compromised with Pope Calixtus II in 1122 and the investiture controversy was settled for a time.