because of his senior status in the cia, gates was close to many figures who played significant roles in the iran–contra affair and was in a position to have known of their activities. in 1984, as deputy director of cia, gates advocated that the u.s. initiate a bombing campaign against nicaragua and that the u.s. do everything in its power short of direct military invasion of the country to remove the sandinista government.