And so they enter into a treaty. Clearly, Hassan sees the writing on the wall. He can't really fight Mawawiya by force. He really doesn't have strong control really much further than this region around Kufa. So he gets into a treaty with Mawawiya, where he gives control of the caliphate to Mawawiya. And according to that treaty, as long as Mawawiya allows the next caliph, after his death, to be based on some form of an election, let the Islamic world choose the successor afterwards. But then later, Hassan, he goes into something of retirement.