The All-India Muslim League was founded in 1906 to represent Muslim political interests in British India and advocated for the formation of a separate Muslim state of Pakistan. It began as an elitist organization but gained mass popularity in the 1940s under the leadership of Muhammad Ali Jinnah. The Muslim League played a key role in the partition of British India in 1947, which led to the creation of Pakistan as a homeland for Indian Muslims according to the two-nation theory. After independence and partition, the Muslim League's role diminished and it was disbanded in India and relegated to a minor party in Pakistan.