After the Dutch managed to dislodge the Swedes from Butre and began building Fort Batenstein at that site, the leaders of the Dutch West India Company thought it beneficial to negotiate a treaty with the local political leadership in order to establish a peaceful long-term relationship in the area. The local Ahanta leaders found it equally beneficial to enter into such an agreement, and thus on 27 August 1656, the Treaty of Butre was signed. This treaty established a Dutch protectorate in the area, and established diplomatic ties between the Dutch Republic and the Ahanta. The treaty's arrangements proved very stable and regulated Dutch-Ahanta diplomatic affairs for more than 213 years. Only after the Gold Coast was sold to Britain in 1872 were the provisions of the treaty abrogated.