 It was part of Uppsala öd, a network of royal estates supporting the Kings of Sweden.Furthermore, King Magnus Barnlock had the old castle replaced by a palace built in brick, Alsnö hus, in the 1270s.In the palace, the king established the Swedish nobility through the Ordinance of Alsnö ("Alsnö stadga") in 1279.