 A series of Danish defeats culminating in the Battle of Bornhöved on 22 July 1227 cemented the loss of Denmark's northern German territories and liberated Hamburg also.Hamburg submitted to Adolf IV of Holstein.From 1230 a new fortification was built.