For four months the siege continued. Ultimately, the Orthodox Patriarch of Jerusalem, Sophronius, agreed to surrender Jerusalem to Caliph Umar in person. Umar, then at Medina, agreed to these terms and traveled to Jerusalem to sign the capitulation in the spring of 637.