After the region of Catalonia saw its regional government, the Generalitat, reinstated by the Spanish Republic in the opening phase of the Spanish Civil War, Nin joined the devolved government headed by Lluís Companys, as regional minister of Justice. However, as Spain's communists gained sway in the Republican government, they moved to purge ex-communists and those independent of Moscow from the government, which would include POUM. Following a threat from Soviet consul Vladimir Antonov-Ovseenko to withhold Soviet aid, Companys sacked Nin from his cabinet on 16 December 1936, concluding a controversial tenure.
