German city, the -burg is German Burg "fort," in reference to the moated castle built there c. 825; the first element is perhaps Old High German hamma "ham, back of the knee" in a transferred sense of "bend, angle," with reference to its position on a river bend promontory; or Middle High German hamme "enclosed area of pastureland."[Hamburg etymology, Hamburg origin, 英语词源]