The Makassar kingdom of Gowa emerged around 1300 CE as one of many agrarian chiefdoms in the Indonesian peninsula of South Sulawesi. From the sixteenth century onward, Gowa and its coastal ally Talloq became the first powers to dominate most of the peninsula, following wide-ranging administrative and military reforms, including the creation of the first bureaucracy in South Sulawesi. The early history of the kingdom has been analyzed as an example of state formation.