The plan was put to a referendum in both Northern Cyprus and the Republic of Cyprus