Codovilla was sent to Madrid to advise the Communist Party of Spain (Partido Comunista de España or PCE) on behalf of the Comintern.
•
With the outbreak of the Spanish Civil War in 1936, Codovilla remained in Madrid advising the PCE, but has been regarded as generally less effective than his Barcelona-based counterpart Ernő Gerő.