On March 14, 1936, he was arrested in Madrid and charged with illegal possession of firearms (at that time, Spain was awash in privately held weapons on the part of all political factions). Nine weeks later he was transferred to the prison in Alicante. In both Madrid and in Alicante, he was able to maintain intermittent secret contact with the Falange leadership and, several times, with General Emilio Mola. On October 3 he was charged with conspiracy against the Republic and military insurrection, both capital offences, even though he had been imprisoned long before the insurrection of July 18. Primo de Rivera conducted his own defence. On November 18 he was found guilty by a people's tribunal and sentenced to death by firing squad. The three career judges who participated in the trial, along with the popular tribunal, asked for the death sentence be commuted to life imprisonment but this was rejected by the majority of government ministers (the two ministers from Izquierda Republicana voted against the death sentence). The sentence was carried out on November 20 by local authorities in Alicante.