Ramiro I was king of Asturias from 842 until his death in 850. Son of King Bermudo I, he became king following a succession struggle after his predecessor, Alfonso II, died without children. During his turbulent reign, he fended off attacks from both Vikings and the forces of al-Andalus. Architecturally, his recreational palace Santa María del Naranco and other buildings used the ramirense style that prefigured Romanesque architecture.
He was a contemporary of Abd ar-Rahman II, Umayyad Emir of Córdoba.