When Timur left Delhi he appointed Khizar Khan as the governor of Multan, Lahore and Depalpur. In 1414 A.D. Khizar Khan won Delhi and established Sayyid dynasty. This dynasty ruled from 1414 A.D. to 1451 A.D. The last ruler Ala-ud-din Alam Shah was defeated by the Governor of Lahore, Bahlol Lodhi.