Ansari, a former United Nations staffer, was seen as the more pro-Israel candidate during her campaign for the U.S. House.