original_query: How did the population of Varanasi district change following the invasion by Mohammad Ghaznavi?
query: How did the Muslim population of Varanasi district change following the invasion by Mohammad Ghaznavi?
answer: Following the invasion by Mohammad Ghaznavi (1021–1030 AD), Muslim settlement and influence began in Varanasi, and their numbers doubled due to the conversion of Hindus, mostly from the lower classes.