Cyprus has been divided between Greek and Turkish Cypriot communities since 1974 when Turkish troops invaded in response to a coup in Nicosia backed by Greece .