Following Yitzhak Rabin's assassination in 1995, Ayalon was appointed head of the Shin Bet (Israel's internal security service). Rabin himself suggested the appointment a year before his murder. Ayalon retired in 2000.