When there were invasions by Sultan Mahmud Ghaznavi .
These soldiers were defeated , they were moved west with their families into the Byzantine Empire between AD 1000 and 1030 .
When there were invasions by Sultan Mahmud Ghaznavi and these soldiers were defeated , they were moved west with their families into the Byzantine Empire between AD 1000 and 1030 .