The following year, Marighella was elected constituent federal deputy by the Bahian branch of PCB, but he lost his office in 1948 under the new proscription of the party. Back in clandestinity, he occupied several offices in the leadership of the party. Invited by the Central Committee of the Communist Party of China, Marighella visited China between 1953 and 1954 in order to learn more about the Chinese Communist Revolution. In May 1964, after the military coup, he was shot and arrested by agents of the Department of Social and Political Order (Departamento de Ordem Política e Social - DOPS), the political police, at a movie theater in Rio. He was released in the following year by a court order.