The chapel was built in the second half of the 1400s by King Christian I as a sepulchre form himself, his queen Dorothea and their descendants.