Muslims took over the country in the seventh century. Ghazna was
the most powerful dynasty during that time even though there were
many others that didn't last long. Mahmud of Ghazna is one of the
greatest rulers in the history of Afghanistan. He conquered lands
from Iran to India.