publishing his Obras Completas (Complete Works) in two volumes (1805 and 1826, respectively). Further, he eulogize d'Alembert, inspired by writing with the Marquess of Condorcet. His honours rarely coincided with Portuguese scientists at the time; on 1 April 1819, he was elected correspondent member or foreign member of the Royal Society of London and written about by others including John Rowley and S.R. Chapman. Peninsular Wars He was adjunct to Field Marshall João Carlos de Bragança Sousa e Ligne, 2nd Duke of Lafões, during the 1801 campaigns of the Peninsular War, known as the War of the Oranges. Military secretary of the duke, between 1797 and 1801, he published an important paper on conducting operations. In 1807, following the French invasion, under the command of General Jean-Andoche Junot, the Portuguese Cortes escaped to Brasil, at a time of when Stocker was secretary of the Real Academia das Ciências (Royal Academy of Sciences). He was one of the dignitaries, in the name of Regency, who travelled to Sacavém to receive the invader. This attitude, as well as the election of Junot as a member of the Royal Academy and Stockler's personal presentation of his credentials while secretary of the Academy, resulted in his being labelled as collaborator (while putting him in the confidence of the French). Accepting from Junot the command of the battery of Areia, near Belém, his force impeded the departure of the Portuguese naval shipping for Brazil, thereby proving his alignment with the French. For his actions, and following the retreat of the French, the Portuguese Regency stripped him of his positions and privileges. As part of a requirement for then-Brigader Stocker, to be reintegrated into the Portuguese military, a letter from the Count of Linhares, then-Minister for the Prince Regent in Brazil wrote: Having brought to the august presence of His Royal Highness the Prince Regent, our lord, the enclosed letter and more papers from Brigadier Francisco de Borja Garção Stockler, whose military talents were verified in the campaign of 1801, are still constant to the same gentleman, in whose Royal presence he is, moreover, unaccredited for the mission to Junot for which he was sent, and later for his command of a battery at Areia alongside the Tower of Belém, whence barbarously he had to shoot on Portuguese ships, which were sailing out the Tagus; however, His Royal Highness, hearing of your sentiments for incomparable justice