Task: Text Categorization
Input (English): One ruler of this dynasty avoided a prophecy of his death by abdicating in favor of the puppet Yusufi for four days during his persecution of Nuqtavis. This dynasty was defeated at Gulnabad by the Ghilzai leader Mahmud. Its founder was victorious at Merv over the Uzbeks and had earlier overthrown the White Sheep dynasty. This dynasty was eventually supplanted by Karim Khan and the Zand dynasty, and its final rulers were puppets of Nadir Shah. Tahmasp I was a ruler of this dynasty, which was defeated at Chaldiran by Selim the Grim. Under Abbas I, this dynasty established a capital at Isfahan, and it was founded with the help of the Qizilbash by Ismail I. For 10 points, name this Shi'ite dynasty that ruled Persia from 1501 to 1736.
Output (English): History