Ghurid dynasty
Abu Ali ibn Muhammad (reigned 1011–1035) was the first Muslim king of the Ghurid dynasty to construct mosques and Islamic schools in Ghor.