 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.Sophronius of Jerusalem also negotiated a pact with Caliph Umar, known as the Umariyya Covenant or Covenant of Omar, allowing for religious freedom for Christians in exchange for jizya, a tax to be paid to conquered non-Muslims, called "dhimmis".