 He was back in Barcelona for the "cort" of 1131, whereat Olegarius successfully petitioned for a restoration of the tithe on the revenues from Barcelona's port, which a new treaty he had negotiated with the Republic of Genoa had recently augmented.Olegarius helped establish the Knights Templar in Catalonia "to serve God and fight in our land" in 1134.In 1122 he was a signatory at Montearagón to the foundation charter of the military confraternity of Belchite, founded by Alfonso the Battler.