In 1766 direct communication was established with Spain and trade with Europe through a national ship based on Spain. In 1774, colonial officers from Bulacan, Tondo, Laguna Bay, and other areas surrounding Manila reported with consternation that discharged soldiers and deserters (From Mexico, Spain and Peru) during the British occupation were providing the indios military training for the weapons that had been disseminated all over the territory during the war. Expeditions from Spain were administered since 1785 by the Real Compañía Filipina, which was granted a monopoly of trade between Spain and the islands that lasted until 1834, when the company was terminated by the Spanish crown due to poor management and financial losses. About this time, Governor-General Anda complained that the Latin-American and Spanish soldiers sent to the Philippines had dispersed "all over the islands, even the most distant, looking for subsistence".