future. Mid-1800s. Consolidation. Since the mid-1830s, the directorate-general was renamed Directorate-General for the Public Treasury and the Undersecretariat of Finance was created as the highest body of the Ministry after the minister himself, and the Under Secretary became the hierarchical superior. As of 1840s, the denomination of Directorate-General for the Public Treasury and Directorate-General for the Treasury was used indifferently, although the first one prevailing. Due to the refusal of the Bank of San Fernando first and the Bank of Spain after on granting loans to the Public Treasury, the General Deposit Office was created in 1853. This Office had an autonomous directive chart until by decree of July 8, 1873 it became part of the directorate-general. Since the law of April 29, 1855, there was a permanent commission of six deputies of the Cortes charged with supervising the cargas de justicia—payment obligations contracted by the State in order to compensate the holders of royal donations and privileges, or of rights alienated from the Crown—paid by the Government through the budget and whose administrative body was the directorate-general for the Treasury. The powers over these cargas de justicia were transferred to the Directorate-General for Public Debt on July 1, 1869 and in exchange it received the powers over lottery revenues when the Directorate-General for State Lotteries disappeared. Between 1873 and 1924 was denominated indifferently of three different forms to this body, varying between Directorate-General for the Treasury, Directorate-General for the Public Treasury and Directorate-General for the Public Treasury and General Ordination of Payments of the State, although maintaining its holder the first of the denominations. On March 13, 1875, the directorate-general lost the powers it had over the Mint Houses (Casas de la Moneda) that were transferred to the Undersecretariat of Finance and recovered them on February 14, 1882. The most significant reform since its creation was carried out on December 10, 1895. A Royal Order defined the directorate-general as "the center responsible for covering public obligations and services with the natural income of the budget, and with the funds acquired through banking operations, when those are not sufficient". The body consisted of three departments—one for Order Services, Deposit Office, General Affairs and General Registry; other for General Incomes; and other for Raffles and Lotteries incomes—, a secretariat and a special banking office. 1900s. Political instability. With the dictatorship of Primo de Rivera, the directorate-general changed its name to the