to alter his work, and published it in London, resulting in its condemnation by the Vatican, being registered on 23 June 1836 in the Index Librorum Prohibitorum. At the same time, though, Stockler elaborated his Ensaio histórico on the origin and progress of mathematics in Portugal, later published in Paris, that was critically acclaimed by José Silvestre Ribeirão (in Resenha de Litteratura Portugueza) and as an insert in the Annaes das Ciencias. This work, which was reedited, is considered one of the best histories of mathematical thought until the 19th century, one of the first works of its time in Europe. He also became interested in education, authoring a study on the establishment of public instruction in Brazil, and history of education and pedagogical studies. Stockler was a deputy in the Junta de Direcção da Academia Militar (Military Academy Junta) of Rio de Janeiro, where, along with Wilhelm Ludwig Freiherr von Eschwege, the Baron of Eschwege, was responsible for restoring the study of mathematics and physics. Captaincy-General Liberalism During his stay in Rio de Janeiro, the Cortes began to receive complaints related to Brigadier Francisco António de Araújo e Azevedo as Governor and Captain-General of the Azores. The populations of the archipelago and insular authorities complained of the military rigor and preferential attitude of the official when conceding lands. In this case, Araújo e Azevedo conceded land to friends of the Captain-General, over the interests of the people and municipal authorities. This appropriation of the vacant lands gave rise to deep hatreds and disagreements, and led to the Justiça da Noite (Night Justice) where hedgerows were destroyed to force communal land policies. At Corte and having gained notoriety for his academic work and intelligence, Stockler managed to be appointed by D. John VI (12 November 1819) to replace the former-Captain-General, who had fallen in disgrace. Stockler left for Lisbon in August 1820, with the intention of receiving from the Regency the orders necessary to govern the Azores. It was during this time that a constitutional movement was taking form on the continent, resulting in the Liberal Revolution of 1820 when Stockler arrived in Lisbon. Obviously anti-Liberal, his Jacobist fame and French collaboration during the French invasion helped him to obtain an affirmation by the Liberal revolutionaries for his position, permitting his departure for the islands. He arrived on 18 October 1820 and was received by a fervor, owing to his