Gay had been under pressure to leave her post ever since her heavily criticised performance at a congressional hearing in December related to antisemitism.