of the Indies, bringing the judicial affairs of the Indies to this moment assumed by the Indies Secretariat to a new the Secretariat of Grace and Justice of the Indies. However, this reform did not end the problems it had tried to remedy, so by Royal Decree of 25 April 1790, the classic division into five Secretaries of State and of the Dispatch was re-established: «State», «War», «Navy», «Treasury» and «Grace and Justice», each of which assumed the corresponding matters to the Indies. This division of the different branches of the Administration will be maintained until the Cortes of Cádiz, which will introduce other reforms. The Ministry In 1812, the name «Secretariat of the Dispatch of Grace and Justice» was changed to «Ministry of Grace and Justice». But in fact, already the Statute of Bayonne of 1808 and the Constitution of 1837 used the term «minister» to refer to the secretaries of the Dispatch, since both terms were used as synonyms until the Royal Decree of 20 September 1851 changed the name of the Secretariat of State and of the Dispatch of Public Works to Ministry of Development, making official the denomination of «ministries» for the former Secretariats of the Dispatch and, consequently, it is definitively called Ministry of Grace and Justice. Since then, the Ministry of Justice has hardly changed (except for those of internal organization) and the most significant changes were in the Second Republic, specifically on 14 April 1931, when it was renamed «Ministry of Justice» and the period from 25 September 1935 to 19 February 1936, in which the name of the department was «Ministry of Labor, Health and Justice». Already in democracy, the most significant change was between May 1994 and May 1996, when it merged with the Ministry of the Interior, giving rise to the Ministry of Justice and the Interior. In 2020, the department lost the powers over the fundamental right of freedom of worship and the matters related with the Historical Memory Act. Organization chart The Ministry of Justice is organised in the following managerial bodies: The Secretariat of State for Justice. The General Secretariat for Innovation and Quality of the Public Justice Service. The Directorate-General for the Public Justice Service. The Directorate-General for the Digital Transformation of the Administration of Justice. The Directorate-General for Legal Security and Certification. The Deputy Directorate-General for Innovation and Quality of the Fiscal and Judicial Office.