The movie is based in the real Balmis Expedition, funded by the king of Spain, to bring the smallpox vaccine to Spanish America.
The ship shot in the movie is the Russian frigate Shtandart, replica of the man-of-war built by Peter the Great in 1703 in Saint Petersburg. Modern Shtandart was built in 1999 and is a fully-functional training tall ship.