Wifred II, while the Count of Barcelona from 897 until 911, is believed to have founded the Sant Pau del Camp monastery. The original church dates from 977. It was replaced during the 13th century with this Romanesque chapel standing in the El Raval neighborhood of the Ciutat Vella District.