who after people from Tabouasamt took their party and established one of his men, Bou Bekr, as Governor of Sijilmasa to align with the peace treaty of non aggression between Moulay Sharif and Tabouasamt. He went back to Sous afterwards. Moulay Sharif's eldest son Sidi Mohammed not fooled by the people from Tabouasamt's successful plans against his father's authority, took the opportunity to take revenge of their deeds. With 200 horsemen, by night he assaulted the citadel. His men made a hole on one of the walls of the citadel and some men managed to enter it, while others climbed the wall. Once inside, they massacred some of the people sleeping in the citadel and slaughtered the defenseless inhabitants. Sidi Mohammed and his men looted the citadel and with this assault, captured Tabouasamt. Moulay Sharif was informed of the capture of the citadel by his son, he was very pleased and this act healed his heart of further revenge he was planning on them. The following day of the capture of Tabouasamt, Moulay Sharif entered the citadel victorious and a procession took place. Defeated, Tabouasamt inhabitants recognized Moulay Sharif as their sovereign. Bou Hasen got angry when he heard of the news and then ordered his partisans from Sijilmassa to capture Moulay Sharif. The earliest accounts of this episode which are from historian Mohammed al-Ifrani claim that Bou Hasen wanted to capture only Moulay Sharif and tasked the Governor of Sijilmasa and his partisans to do so. Al Naciri too supports this version. While Al Zayani claims that Bou Hasen tasked in secret Tabouasamt's inhabitants to capture either Moulay Sharif or his eldest son Sidi Mohammed and that he was coming to Tabouasamt to take the captured home in Sous. Bou Hasen succeeded in his plan and in both versions Moulay Sharif was captured by treason and sent to Sous as a prisoner. The precise dating of his capture in not stated by historic sources; however, it happened shortly after the capture of Tabouasamt by Sidi Mohammed, therefore, between 1634 and 1635. Other historic sources claim that Moulay Sharif led an attack against Abu Hassun's garrison at Tabuasamt in 1635 or 1636 (1045 AH) but failed to expel them. Abu Hassun forced him to go into exile to the Sous valley. Captivity Bou Hasen kept Moulay Sharif a prisoner in Sous, inside a citadel. His release was granted upon paying