Salamanca is a city in western Spain, the capital of the Province of Salamanca in the autonomous community of Castile and León.