 The fortress was made into the residence of the sheriff and renamed Hamarhus fortress.The cathedral was still used but fell into disrepair culminating with the Swedish army's siege and attempted demolition in 1567, during the Northern Seven Years' War, when the manor was also devastated.By 1587, merchants in Oslo had succeeded in moving all of Hamar's market activities to Oslo.