Oviedo's rich architectural tradition began with King Fruela I (757–768). King Fruela I of Asturias, the fourth of the Asturian monarchs, was the first decided promoter of the city as may be witnessed by his construction of both a palace and a nearby church. This church was later restored by Alfonso II. Oviedo owes to a later king, Alfonso II The Chaste (791–842), its establishment as a capital city and ruling seat as a result of the moving of the court from Pravia and the creation of the Pilgrim's Route to Santiago de Compostela, a major event in the history of Oviedo, a church dedicated to The Saviour, the Cathedral of San Salvador, and a royal palace formed the nucleus of Oviedo. Also constructed during Alfonso II's reign was the San Julian de los Prados church, which is one of the best preserved Asturian churches. Alfonso II's successor, Ramiro I (842–850), continued Alfonso II's construction streak. Ramiro I constructed two buildings, the Church Santa Maria del Naranco and San Miguel de Lillo. The Church Santa Maria de Naranco was likely to originally be Ramiro I's palace and later changed into a church. By this time the Court of the Palace was centered in Oviedo, which was the main royal residence. This court was controlled by member of the Asturian nobility.