This designation occurred in accordance with Ali's last will...
This designation occurred in accordance with Ali's last will and testament and also by the allegiance of the community to Hasan. But Mu'awiyah did not remain quiet before this event. He marched with his army toward Iraq, which was then the capital of the caliphate , and began to wage war against Hasan. Through different intrigues and the payment of great sums of money, Mu'awiyah was able gradually to corrupt the aides and generals of Hasan.
Finally he was able to force Hasan to hand the caliphate over to him so as to avoid bloodshed and to make peace. Hasan handed the caliphate to Mu'awiyah on the condition that the caliphate would be returned to him after the death of Mu'awiyah and that no harm would come to his partisans. In the year 40/661 Mu'awiyah finally gained control of the caliphate.
He then set out immediately for Iraq and in a speech to the people of that land said: "I did not fight against you for the sake of the prayers or of fasting. These acts you can perform yourself. What I wanted to accomplish was to rule over you and this end I have achieved." He also said, "The agreement I made with Hasan is null and void.
It lies trampled under my feet." With this declaration Mu'awiyah made known to the people the real character of his government and revealed the nature of the program he had in mind. He indicated in his declaration that he would separate religion from politics and would not give any guarantees concerning religious duties and regulations. He would spend all his force to preserve and to keep alive his own power, whatever might be the cost.
Obviously a government of such a nature is more of a sultanate and a monarchy than a caliphate and vicegerency of the Prophet of God in its traditional Islamic sense. That is why some who were admitted to his court addressed him as "king." He himself in some private gatherings interpreted his government as a monarchy, while in public he always introduced himself as the caliph. Naturally any monarchy that is based on force carries with it inherently the principle of inheritance.
Mu'awiyah, too, finally realized this fact, and chose his son, Yazid, who was a heedless young man without the least religious personality, as the "crown prince" and his successor. This act was to be the cause of many regrettable events in the future. Mu'awiyah had previously indicated that he would refuse to permit Hasan ibn Ali to succeed him as caliph and that he had other thoughts in mind.