the original monastic church had a nave and four aisles, roofed by barrel vaults. the nave and aisle terminated in five apses, later increased to seven when apses were added to the transepts also. the current church dates to rogent's reconstruction in 1896, and although maintaining features of the original church, the present building has only two aisles. the transept houses the tombs of the counts of besalú and of several counts of barcelona, from wilfred the hairy to ramón berenguer iv.