translate English to French: This came as a surprise, despite the fact that all the conditions for Hamas to defeat Fatah were in place.
Ce fut une surprise. Mais toutes les conditions étaient réunies pour que le Hamas batte le Fatah.