Yata took part in the foundation of the Moroccan Communist Party (PCM) in 1943. After a few years he became the general secretary of the party, replacing the founding general secretary Léon Sultan who died in 1945.
Yata joined the formation of the Moroccan Communist Party (PCM) in 1943. After a few years, he became the party's general secretary, succeeding Léon Sultan who passed away in 1945.