During this time, Maza became a district judge in Madrid after having worked in the courts of Alcorcón, Valencia and Cangas de Morrazo.
Maza defended the disqualification of judge Baltasar Garzón,[3][4] and, in 2007, made it possible to file a case against the former president of the Santander Group, Emilio Botín.
On 16 May 2017, the Congress of Deputies censured him as Attorney General for suspicious activity in the Prosecution Ministry that aimed to obstruct certain cases against corruption.
The central government proceeded to deploy a series of legal measures intended to nullify the referendum, while also warning local councils in Catalonia to either impede or paralyse efforts to carry out the vote.
[9] On 30 October 2017, Maza called for charges of rebellion, sedition and embezzlement against Puigdemont, the Bureau of the Parliament, and other Catalan leaders.