The rising price of cotton in the wake of the American Civil War (1861–1865) caused an influx of hundreds of settlers to Fiji in the 1860s from Australia and the United States in order to obtain land and grow cotton. Since there was still a lack of functioning government in Fiji, these planters were often able to get the land in violent or fraudulent ways such as exchanging weapons or alcohol with Fijians who may or may not have been the true owners. Although this made for cheap land acquisition, competing land claims between the planters became problematic with no unified government to resolve the disputes. In 1865, the settlers proposed a confederacy of the seven main native kingdoms in Fiji to establish some sort of government. This was initially successful, and Cakobau was elected as the first president of the confederacy.