the earliest migration of sayyids from afghanistan to north india took place in 1032ad 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 ( from zaidpur) in the barabanki district, uttar pradesh. they are considered to be the first muslim settlers in north india. in 1033ad ghazi saiyyad salar masud was killed at the battle of bahraich, the location of his "mazr". ghazi saiyyad salar masud had no children. his parental uncle syed maroofuddin ghazi had his family lived in tijara till 1857 ,then migrated to bhopal.(munshi hakimuddin is direct desendent of syed masroofuddin ghazi). syed ahmed rizvi kashmiri and khan bahadur aga syed hussain were both rizvi sayyids through aaqa meer sayyid hussain qomi rizvi, whose sacred shrine is in the zainageer village of sopore, kashmir. iraqi sayyids or iraqi biradri in eastern uttar pradesh are descendants of sayyid masud al hussaini who was direct descendant of prophet's grandson hussain ibn ali and came to india from iraq during the reign of sultan muhammad bin tughlaq in 1330 a.d. he settled with his seven sons and forty champions in ghazipur (u.p.). this is because some of them (i.e. syed abu bakr in nonahra, ghazipur) converted to sunni islam in the reign of sultan ibrahim lodhi circa a.d. 1517. his shia descendants are now known as sayyids of ghazipur.