Anne Sophie was the Queen of King Frederik IV of Denmark and Norway from 1721-1730. Anne Sophie was the mistres of the King and he married her although he was married to Queen Louise and Queen from 1699-1721 when he divorced her.
In the two coffins beside her are the remains of their children Christiane, Karl and Frederik who all died before their 1. birthday.