La Rioja (English /lə riːˈoʊhə/; Spanish: [la ˈrjoxa]) is an autonomous community and a province of northern Spain. 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 is bordered by the Basque Country (province of Álava), Navarre, Aragón (province of Zaragoza), and Castile and León (provinces of Soria and Burgos). The river Ebro flows through this region, as does the river Oja, after which it is named.
The territory of La Rioja (the name appeared in a charter of 1099) was formerly known as the province of Logroño for the fortified site around which it developed. The 12th-century church Iglesia de Santa Maria de Palacio recalls its origin as a chapel of the administrative palace. Logroño was a borderland disputed between the kings of Navarre and the kings of Castile starting in the 10th century; the region was awarded to Castile in a judgement by Henry I of England and annexed in 1173 (1177?). Its importance was that here the pilgrimage route to Santiago de Compostela, the Camino de Santiago, crossed the River Ebro on the stone bridge, the Puente de Piedra.