 The subsequent reform of the year 1787 gives rise to a greater division of the Secretariats, as a solution to the accumulation of affairs and businesses from the Indies.As for the functions of this Secretariat of the Dispatch of Grace and Justice, it corresponded to it the matters previously dealt with by the Chamber of Castile and the Royal Council, basically those relating to royal patronage, ecclesiastical jurisdiction, and the organization and operation of the Courts of Justice.Thus, it was attributed to this Secretariat everything to the appointments of archbishops, bishops, ecclesiastical dignities, perks, trades and chaplaincies; the government of courts and chancery, the appointment of its presidents, governors and ministers, and the resources of justice; the provision of the corregimientos not destined to war and property; the conservation of royalties of the Crown, as well as the dispatch of what is convenient to the royal houses and the provision of their jobs and the care of the observance of laws and pragmatics.