 Valdemar II of Denmark raided and occupied Hamburg in 1201 and in 1214 Frederick II, Holy Roman Emperor declined all claims of property northern of the river Elbe.Hamburg was controlled by Denmark.The Danish governor united the new and the old parts of Hamburg under one law, town hall and court.