La Rioja (.mw-parser-output .IPA-label-small{font-size:85%}.mw-parser-output .references .IPA-label-small,.mw-parser-output .infobox .IPA-label-small,.mw-parser-output .navbox .IPA-label-small{font-size:100%}Spanish: [la ˈrjoxa]) is an autonomous community and province in Spain, in the north of the Iberian Peninsula. Its capital is Logroño. Other cities and towns in the province include Calahorra, Arnedo, Alfaro, Haro, Santo Domingo de la Calzada, and Nájera. It has an estimated population of 315,675 inhabitants (INE 2018), making it the least populated autonomous community of Spain. It covers part of the Ebro valley towards its north and the Iberian Range in the south. The community is a single province, so there is no provincial deputation, and it is organized into 174 municipalities. It borders the Basque Country (province of Álava) to the north, Navarre to the northeast, Aragón to the southeast (province of Zaragoza), and Castilla y León to the west and south (provinces of Burgos and Soria). The area was once occupied by pre-Roman Berones, Pellendones and Vascones. After partial recapture from the Muslims in the early tenth century, the region became part of the Kingdom of Pamplona, later being incorporated into Castile after a century and a half of disputes. From the eighteenth century the Rioja region remained divided between the provinces of Burgos and Soria, until in 1833 the province of Logroño was created, changing the name of the province to La Rioja in 1980 as a prelude to its constitution under a single provincial autonomous community in 1982. The name "Rioja" (from Río Oja) is first attested in 1099.