Salamanca is a city in western Spain, the capital of the province of Salamanca, which belongs to the autonomous community of Castile and Leon (Castilla y León).