Eventually, on 15 July 1974, a military coup d'état orchestrated by the Cypriot National Guard and the junta of Athens succeeded in deposing Makarios and replacing him with nationalist Nikos Sampson. On the pretext of a peacekeeping operation, Turkey took military action code-named Operation Atilla and invaded Cyprus on 20 July 1974.