The early Muslim period refers to the start of Muslim rule in the history of Lahore. Few references to Lahore remain from before its capture by Sultan Mahmud of Ghazni in the eleventh century. The sultan took Lahore after a long siege and battle in which the city was torched and depopulated.