Based on a series of five novels written by Arturo Pérez-Reverte, the film is set in the time period of the Spanish Empire in the 17th century. The plot follows the exploits of Diego Alatriste, a soldier in the Eighty Year's War.