There is evidence of prehistoric human habitation; low rainfall must have made farming difficult until the introduction of irrigation. The plateau’s mineral wealth led many lowland rulers, including those of the Mauryan (4th–2nd century bce) and Gupta (4th–6th centuryce) dynasties, to fight over it. From the 6th to the 13th century, the Chalukya, Rastrakuta, Later Chalukya,Hoysala, and Yadava families successively established regional kingdoms in the Deccan, but they were continually in conflict with neighbouring states and recalcitrant feudatories. The later kingdoms also were subject to looting raids by the Muslim Delhi sultanate, which eventually gained control of the area.In 1347 the Muslim Bahmanī dynasty established an independent kingdom in the Deccan. The five Muslim states that succeeded the Bahmanī and divided its territory joined forces in 1565 at the Battle of Talikota to defeat Vijayanagar, the Hindu empire to the south. For most of their reigns, however, the five successor states formed shifting patterns of alliances in an effort to keep any one state from dominating the area and, from 1656, to fend off incursions by the Mughal Empire to the north. During the Mughal decline in the 18th century, the Marathas, the nizam of Hyderabad, and the Arcot nawab vied for control of the Deccan. Their rivalries, as well as conflicts over succession, led to the gradual absorption of the Deccan by the British. When India became independent in 1947, the princely state of Hyderabad resisted initially but joined the Indian union in 1948.