Crusades and Wars
In the middle years of his rule, his attention turned to his campaigns against the Moors. In October 1147, as part of the Second Crusade, he helped Castile to conquer Almería. He then invaded the lands of the Almoravid taifa kingdom of Valencia and Murcia. In December 1148, he captured Tortosa after a five-month siege with the help of Southern French, Anglo-Normans and Genoese crusaders. The next year, Fraga, Lleida and Mequinenza in the confluence of the Segre and Ebro rivers fell to his army. The reconquista of modern Catalonia was completed.
Ramon Berenguer also campaigned in Provence, helping his brother Berenguer Ramon and his infant nephew Ramon Berenguer II against Counts of Toulouse. During the minority of Ramon Berenger II the Count of Barcelona also acted as the regent of Provence (between 1144 and 1157). In 1151, Ramon signed the Treaty of Tudilén with Alfonso VII of León and Castile. The treaty defined the zones of conquest in Andalusia as an attempt to prevent the two rulers from coming into conflict. Also in 1151, Ramon Berenguer founded and endowed the royal monastery of Poblet. In 1154, he accepted the regency of Gaston V of Béarn in return for the Bearnese nobles rendering him homage at Canfranc, thus uniting that small principality with the growing Aragonese empire.
Read more about this topic: Ramon Berenguer IV, Count Of Barcelona