at Kerak too, it was presumably Maria who conducted the defence. The city was unwalled and she could do nothing to prevent Saladin from sacking it, but no Franks were killed because she took the entire population inside the citadel. Succession dispute Completely disabled due to leprosy, Baldwin IV lay on his deathbed in early 1185. He arranged for Sibylla's son, Baldwin V, to undergo a crown-wearing ceremony after which Balian expressed his family's support by carrying the boy to banquet on his shoulders. The High Court awarded regency to Raymond of Tripoli. Raymond demanded that, in the case of Baldwin V's death, the decision of whether the crown should pass to "Sibylla, who was the daughter of Countess Agnes" or "Isabella, who was the daughter of Queen Maria", would be made by the pope, the Holy Roman emperor, and the kings of England and France. Baldwin died after the barons promised to uphold this condition. Baldwin V died in mid-1186. Sibylla hurried to Jerusalem to claim the throne. She and her supporters secured most of the royal domain while Raymond summoned the High Court to Nablus. The meeting was attended by Maria, Isabella, Humphrey, the Ibelins, and likely Raymond's stepsons. When news reached of Sibylla and Guy's coronation in Jerusalem reached them, Raymond suggested crowning Isabella and Humphrey as rival monarchs. The argument that Isabella had better claim than Sibylla because she was born in their father's reign while Sibylla had been born earlier probably came from Maria and the Byzantine tradition of porphyrogeniture. Humphrey was unwilling to cause a civil war, however, and foiled the plan by sneaking out of Nablus and submitting to Sibylla. The rest of the nobility convened in Nablus then arrived to submit as well, except Baldwin of Ibelin and Raymond. Third Crusade Saladin took advantage of the discord between the nobles. He invaded the kingdom in April 1187 and won the Battle of Hattin on 4 July, which proved to be decisive. King Guy was captured, Lord Raynald executed, and Count Raymond died of an illness soon afterwards. Queen Maria and her children left Nablus and joined her stepdaughter, Queen Sibylla, in Jerusalem. After besieging the capital, Saladin arranged for Maria, her children, household, and possessions to be escorted to Tyre. Jerusalem fell on 2 October. Maria reunited with Sibylla in Tripoli. Guy, who was released in 1188, he decided to besiege Acre.