Six years after joining the order, Oliba was named abbot at Santa Maria de Ripoll, and also at Sant Miquel de Cuixà shortly thereafter. Oliba promoted the movement of the
Peace and Truce of God beginning about 1022. In 1027 a council of bishops and noblemen took place in
Toulouges, a town in
Roussillon (
North Catalonia), and it was agreed to establish days during which there would be no violence between Christians - initially Sundays and Holy Days - and that fugitives could take refuge in churches and holy places, sure of being protected. This was in addition to the already established principle of the movement: to protect peasants, the clergy and other defenceless individuals by threat of excommunication. So influential was Oliba that, in 1023, King
Sancho III of Navarre consulted him on the propriety of marrying his sister Urraca to her second cousin,
Alfonso V of León. The bishop objected, but Sancho ignored him. Oliba's letters to the various contemporaneous
kings of Spain indicate that Alfonso and his successor,
Vermudo III were regarded as
imperatores, while the
king of Navarre was a mere
rex, though eventually
rex Ibericus. Oliba founded the monastery of
Santa María de Montserrat (1025), reformed others such as
Sant Miquel de Fluvià and
Sant Martí del Canigó, and consecrated or patronised numerous other churches, such as the
Collegiate Basilica of Manresa. He also created the Assemblies of Peace and Truce, the seeds of the future Catalan
Corts, to aid the nobles in the administration of the realm. He improved the decoration of his own church at Ripoll and rededicated it on 15 January 1032. He was a close advisor to
Count Berenguer Ramon I of Barcelona and reconstructed the cathedral of Vic with the support of Berenguer Ramon's mother,
the Countess Ermesinde. The new cathedral was rededicated to Saints Peter and Paul on 31 August 1038. Oliba died at his monastery at Cuixà in 1046. ==Legacy==