Oliba started or reformed the monasteries of Montserrat (1025), Fluvià, and Canigó. He consecrated or patronized many other churches, such as the Collegiate Basilica of Manresa. He started the Assemblies of Peace and Truce, which later became Catalonia's "corts", or parliament. He improved the decoration of his own church at Ripoll and rededicated it on January 15, 1032. He was a close advisor to Count Berengar Raymond I of Barcelona and he rebuilt the cathedral of Vic with help from Countess Ermesinda. The new cathedral was rededicated to Peter and Paul on August 31, 1038. He died at his monastery at Cuixà in 1046.