The Palmach was a broad spectrum left-wing nationalist organisation, associated with socialist parties. Its members trained and lived in kibbutzim. The political tendencies of its leaders such as Yigal Allon and Yitzhak Sadeh was towards Mapam, a left-wing party in opposition to David Ben-Gurion and the Mapai ruling party. In 1944 a major split had occurred in Palestine's Jewish community's dominant party, Mapai, led by David Ben-Gurion. The breakaway group, which evolved into Mapam, were inspired by Stalin's regime in the Soviet Union, and had a strong following in the kibbutz movement. Since most of the Palmach's members came from the kibbutzim, the Mapam dominated the Palmach, with a majority of its officers being members. After 1948 Ben-Gurion, Prime Minister and Minister of Defence of the new state, had a series of confrontations with leaders of the Haganah and the Palmach. In a process that Ben-Gurion described as de-politicizing the army, the three Palmach brigades were disbanded and in 1950 most of the Mapam officers resigned. Those Palmach members who had been in Mapam and remained in the army had to endure several years on the margins. The effect of the de-politicizing was that all senior army posts were held by Mapai members or Ben-Gurion loyalists. After demobilization many Palmach members founded new kibbutzim. In 1949 they set up Bar'am, Beit Guvrin, Nir Yitzhak (named in honour of Yitzhak Sadeh), Palmachim, Re'im, Rosh HaNikra, Re'im and Yir'on. Palmach members were not, however, a unified, homogeneous collective with a single ideology. In the early years of the state of Israel they could be found in all political parties.