Muhammad II of Shirvan

Muhammad II
Coin minted in the name of Muhammad ibn Yazid
Layzanshah
Reign918 – 948
PredecessorAbu Tahir Yazid
SuccessorAhmad
Ruler of Tabasaran
Reignbefore 917
Shirvanshah
ReignSeptember 948 – 4 June 956
PredecessorAbu Tahir Yazid
SuccessorAhmad
Died4 June 956
IssueAhmad
Haytham
HouseYazidids
FatherAbu Tahir Yazid
ReligionSunni Islam

Muhammad ibn Yazid (Arabic: محمد بن يزيد; died 4 June 956), known as Muhammad II, was the Layzanshah from 918 and the Shirvanshah from 948 until his death. He was a son of Abu Tahir Yazid, who had united Shirvan and Layzan in 917 and granted Layzan to him as a fief.

He is sometimes numbered Muhammad III through confusion with his grandfather Muhammad ibn Yazid, who bore the same name and patronymic but ruled only in Layzan. Vladimir Minorsky identified this similarity of names as the source of a long-standing confusion in the sources, including in al-Mas'udi, who names a reigning Shirvanshah Muhammad ibn Yazid at a date when Abu Tahir was on the throne.