Original sentence: Other grand Iranian dynasties were Samanids (875-999), Ghaznavids (962-1187), Ghurids (1149-1212), Seljukids (1037-1194), Khwarezmids (1077-1231) and Timurids (1370-1506)
Edited sentence: Other grand dynasties who related themselved to Iran and embraced Persian culture and/or identity were Samanids (875-999), Ghaznavids (962-1187), Ghurids (1149-1212), Seljukids (1037-1194), Khwarezmids (1077-1231) and Timurids (1370-1506)