King Knut Eriksson had this church built in the beginning of the 12th century, in memory of his father Erik the holy.