In 1996, a counter coup d'état attempt of Hamad bin Khalifa was foiled. Qatari intelligence indicated that the masterminds behind the attempt were government officials from Saudi Arabia, Bahrain, Egypt and the United Arab Emirates.[16]