In 1323, Delhi sultan Ghiaz-ud-din Tughlaq sent a large army under Ulugh Khan to conquer the Telugu country and lay siege to Warangal. In 1347, after a revolt against the Delhi Sultanate, an independent Muslim state (the Bahmani Sultanate) was established in South India by Ala-ud-Din Bahman Shah. By the end of the 15th century, the sultanate was plagued with factional strife. Five Shahi sultanates were founded, and the Qutb Shahi dynasty played a role in the history of the Telugu country.