A powersharing constitution was created for the new Republic of Cyprus and included both Turkish and Greek Cypriots holding power. Three treaties were written up to guarantee the integrity and security of the new republic: the Treaty of Establishment, the Treaty of Guarantee and the Treaty of Alliance. According to the constitution, Cyprus was to become an independent republic with a Greek Cypriot president and a Turkish Cypriot vice-president, with full powersharing between Turkish and Greek Cypriots.[2]