Şahkulu was the son of Hasan Halife of the village of Kızılkaya, or Yalunlu, in Teke. He himself was born and grew up in the same village. Şahkulu, an extremely eloquent, energetic and courageous man, took action drawing strength and courage from Ismail's founding of the Safavid state and running from victory to victory, and above all from the discontent felt at the administration's having become extremely weak and at the unjust conduct of statesmen. In his army there were also a great many sipahis who had been deprived of their fiefs (dirlik) although they had committed no fault that could be considered serious; the famous Ulema Khan of Shah Tahmasp's time was one of these sipahis. It appears that the rest of his followers consisted of the poor peasants of the Teke mountains. His followers called Şahkulu "Baba". Şahkulu inflicted defeat after defeat on the Ottoman forces. These successes caused his men to multiply steadily. In particular, his defeating and killing the Beglerbeg of Anatolia, Karagöz Pasha, increased the number of his followers and spread his fame everywhere. Şahkulu and his followers, disparaged as "a handful of sandal-shod (çarıklı) Turks of Anatolia", broke through the ring when, having withdrawn to Teke after some successes, they were surrounded there by superior forces under the Grand Vizier Hadım Ali Pasha. On their way to Karaman-ili they also defeated the beglerbeg of that province, Haydar Pasha, who came out against them, and then set off toward Iran. The Grand Vizier caught up with Şahkulu on the Çubuk plain between Kayseri and Sivas, but in the battle that followed Ali Pasha was killed and his army routed (2 July 1511). Şahkulu, gravely wounded in the battle, died soon afterward. However, one of his closest men, whom he had earlier appointed vizier, brought the Tekelis safely to Iran.

They numbered 15,000. It may be estimated with good reason that Şahkulu's real aim was not merely to raise a rebellion in Shah Ismail's name or to go to Iran. His purpose appears to have been far greater: to put an end to Ottoman rule. For this reason, after his first successes he had made one of his most trusted men his vizier and had sent others to the regions and districts as beglerbegs and sanjak begs. How broad his aim was can also be seen from the fact that Şahkulu sent letters to the halifes in Rum-ili, too, calling on them to take action. With his successes he had created so deep an impression that even Bayezid's son Şehinşah, the governor of Karaman, became Kızılbaş for a time. It is also known that later, with the same aim, many individuals arose in Anatolia and caused serious troubles for the Ottoman state.

One of the foremost causes of all these movements, or indeed the foremost cause, was injustice of every kind. The Şahkulu uprising caused the deaths of many people and the terrible plunder and devastation of many regions. In respect of his religious beliefs and conduct, his boundless influence over his followers, and the Ottoman soldiers' fear of his spiritual power, Şahkulu may be compared with Baba İshak, who raised a similarly terrifying rebellion in the Seljuk period, in 1240.

Learning in 1515 that Selim had ascended the Ottoman throne, Shah Ismail sent Nur Ali Halife Rumlu to Anatolia and ordered him to gather the sufis of that country. The Safavid ruler was evidently worried that Selim would surely do something to them — and he was undoubtedly right. While Nur Ali Halife was at Karahisar (Şebin), a community of three to four thousand households of Turks from the Sivas, Amasya and Tokat region joined him. At this time Sultan Ahmed, who was in Konya, refused to accept the sovereignty of his brother Selim and was preparing to fight him. This situation made Nur Ali Halife Rumlu's task easier. He roused the Kızılbaş of Sivas, Amasya, Tokat and Çorum to revolt. They began to spread an atmosphere of terror in these regions. Sultan Murad, one of Sultan Ahmed's sons who was in Amasya, became Kızılbaş, evidently in order to make use of them, and ceremonially donned the Kızılbaş crown.

Nur Ali Halife defeated the Ottoman commander Faik Beg near Tokat; since the notables of Tokat came out to welcome him and had the khutba read in Shah Ismail's name, he did not touch the city and its people, and joined Sultan Murad, who had ten thousand Kızılbaş with him, at Kaz Çayırı (Kaz Ovası). But shortly afterward, when it was learned that the people of Tokat had gone over to opposition, the city was burned this time. Ahmed, in Karaman, not only disapproved of his son's becoming Kızılbaş but, at the request of the people of Amasya, sent a force from Karaman under the command of his lala (tutor), Yularkıstı Sinan Bey (or Pasha). Meanwhile Sultan Murad had gone to Iran, to the Shah, and Nur Ali had set out to return to Erzincan. Yularkıstı caught up with him at Koyulhisar but was defeated and himself fell on the battlefield (1512). Nur Ali Halife, a native of the Sivas region, returned to Erzincan having accomplished his mission with complete success.

In the face of Selim's advance, Ahmed withdrew eastward; while at Divriği he received a letter from his son Sultan Murad informing him that Shah Ismail had sent him with one of his commanders, Div (Dev) Ali Rumlu, and an army of twenty thousand men. In the same letter Murad invited his father to Erzincan and wrote that with this army he could go as far as Üsküdar. Ahmed, who hated the Kızılbaş, rejected his son's proposal although he was in a very delicate position, and tore up the letter in his distress. Before long Ahmed and his sons were eliminated. Selim became complete master of the Ottoman country.