It is one of the best preserved Romanesque churches in the Osona region.
It was built by the viscounts of Osona around 1069 in one of their fiefdoms and was recognized nine years later by the bishop of Vic to viscount Ramon Folc, who, when he died at the hands of the Saracens in 1086, gave it up together with the church of Sant Pere in Vigata canonical.
As the majority of churches in the region in the Baroque period were enlarged and transformed, so, as the inscription indicates, around 1728 it was raised, side chapels were built, one of which was abolished during the restoration and open the western portal. Despite everything, the Romanesque beauty of the temple can still be admired.
The first tombstone belongs to the tomb of Miquel Galles, rector of the parish of Tavernoles, who died on August 20, 1839.
The second corresponds to Jacinto Verdaguer, who died in 1868. It is probably Jacint Verdaguer i Ordeix, uncle and godfather of the poet from Folgueroles.
The other two tombstones correspond to the inhabitants of the neighboring houses: the Cos and the Ruquet.