Aabenraa started growing in the early Middle Ages around Opnør Hus, the bishop's castle, and received status as a merchant town in 1240, and in 1335 it received a charter [REF].
Between 1560 and 1721 the town was under the rule of the Dukes of Holstein-Gottorp.