The earliest migration of Sayyids from Afghanistan to North India took place in 1032 AD when Gazi Saiyyed Salar Sahu (general and brother-in-law of Sultan Mahmud of Ghazni) and his son Ghazi Saiyyad Salar Masud established their military headquarters at Satrikh ( 16 kilometers from Zaidpur) in the Barabanki district, Uttar Pradesh.