Hasan ibn Zayd, known as Great Dai, (born early 8th century, died 6 January 884) was a Persian king of the Tabaristan's Alids. He rebelled in Tabaristan (in 864) and fought with the Abbasids, Tahirids and the Saffarids dynasty. He created an independent Shia Islamic Alavid dynasty.