Captain Alatriste: The Spanish Musketeer was filmed in Madrid & Seville in Spain.
Source: IMDb
Source: Wikipedia