During the Delhi Sultanate period, the Turkish ruling class established a hierarchy that placed foreign Muslims from Islamic regions (West Asia, Persia, Turkey) at the top. Indian Muslims and Muslims from other regions like Africa were considered socially inferior to these foreign-born Muslims.