In the middle of the Napoleonic Wars, King Charles IV of Spain funded and dispatched a humanitarian mission aimed at inoculating all of the imperial colonies in Latin America and Asia. Known as the Balmis Expedition, it was launched in 1803 and utilized Edward Jenner's new method by which to vaccinate people against smallpox.