Huelva is a city in southwestern Spain, the capital of the province of Huelva in the autonomous region of Andalusia. It is located along the Gulf of Cadiz coast, at the confluence of the Odiel and Rio Tinto rivers. According to the 2005 census, the city has a population of 145,150 inhabitants.