 CPM was among the first anti-colonial movements in Malaya.Since young Rashid was inspired by the story of Maharajalela's war against the British in Perak.In 1939. he started to get involved in the Malayan Communist Party (MCP) and in 1941, he officially became a member of MCP.