On 18 December 2014 he resigned as General State Attorney alleging personal motives, although some sources pointed to discrepancies with the Spanish government to enter into the independence of the fiscal ministry. The last episode at the head of the Attorney General was the complaint filed against Artur Mas, Joana Ortega and Irene Rigau for the Catalan self-determination referendum of 9 November, while the Attorney General of Catalonia, José María Romero de Tejada, as well as the rest of Catalan prosecutors they did not see inculpatory indications.