Although Barak won the Prime Ministerial election comfortably , his One Israel alliance won only 26 seats , meaning he had to form a convoluted coalition with Shas , Meretz , Yisrael BaAliyah , the Centre Party , the National Religious Party and United Torah Judaism .