He inherited the county of Barcelona from his father Ramon Berenguer III in 1131.
In 1137 he was betrothed to the infant Petronilla of Aragon, and essentially became ruler of that kingdom. However, he never called himself king, but instead Prince of Aragon.
Ramon Berenguer III, Count of Barcelona
|Counts of Barcelona||
Alfonso II of Aragon