Hamburg or in full Free and Hanseatic City of Hamburg (), is a city in the north of Germany on the banks of the River Elbe, 18 km away from the North Sea. It is both a city and one of the States of Germany.