The Romani began to leave India about 1,000 years ago. They probably left to escape the invasion of Afghan General Mahmud of Ghazni early in the 11th century.