Following the defeat of the Byzantine army of Heraclius by the Rashidun army of Khalid ibn al-Walid in the Battle of Yarmouk, and the capitulation of the Christian city of Jerusalem to the Caliph Umar, Acre came under the rule of the Rashidun Caliphate beginning in 638. According to the early Muslim chronicler al-Baladhuri, the actual conquest of Acre was led by Shurahbil ibn Hasana, and it likely surrendered without resistance. The Arab conquest brought a revival to the town of Acre, and it served as the main port of Palestine through the Umayyad and Abbasid Caliphates that followed, and through Crusader rule into the 13th century.