after al-Mu'azzam's death on November 11, 1227, by Frederick II from Sultan al-Kamil. As Toron was sold in 1220 to the Teutonic Knights together with the territories called the Seigneury de Joscelin, it came to a dispute between them and Alice of Armenia, the niece of Humphrey IV and heiress of the lordship of Toron. Alice successfully claimed her rights before the High Court and Frederick II assigned the lordship to her. But it seems the Franks were not able to take possession of the territories, In 1239, when the treaty ended, Toron fell back to the Ayyubids. Two years later, in 1241, it was restored to the Crusaders due to a treaty between Richard of Cornwall and Sultan as-Salih of Egypt. In 1244, the castles held out against the Khwarezmian army and accomplished their objective of disrupting the Muslim attack on Jerusalem. Nonetheless, Jerusalem eventually fell to the overwhelming number of the Khwarezmian and the primary mission of the castles became obsolete. However, Toron tenuously remained in Crusader hands and was periodically under siege by the Mamluks until the jihad of Baibars further isolated it. Following a brief siege, Baibars in a rare display of mercy allowed the small Crusader contingent to evacuate in exchange for surrender, which they accepted. The lords of Toron tended to be very influential in the kingdom; Humphrey II was constable of Jerusalem. Humphrey IV was married to Isabella, King Amalric I's daughter (Toron passed into the royal domain during their marriage but its title was returned to Humphrey IV after their divorce). It was also one of the few to have a straight hereditary succession in the male line, at least for a few generations. The lords of Toron were also connected to the Lordship of Oultrejourdain by the marriage of Humphrey III and the maternal inheritance of Humphrey IV. Toron was later merged with the royal domain of Tyre, which went to a branch of Antioch, then their heirs from Montfort. Lords of Toron Humphrey I of Toron (before 1109–after 1136) Humphrey II of Toron (before 1137–1179) (Humphrey III predeceased his father) Humphrey IV of Toron (1179–1183) Royal domain (1183–1187) Humphrey IV (restored) (1190 – c. 1192) occupied by Muslims until 1229 and the title not used Alice of Armenia (1229– after 1236), granddaughter of Humphrey III Maria of Antioch-Armenia (after 1236–1239), granddaughter of Alice and great-granddaughter of Isabella of Armenia, daughter