|Lord Mayor||Susanne Lippmann (Ind.)|
|Area||102.30 km2 (39.50 sq mi)|
|Elevation||68 m (223 ft)|
|Population||57,342 (31 December 2011)|
|- Density||561 /km2 (1,452 /sq mi)|
|Time zone||CET/CEST (UTC+1/+2)|
|Postal codes||31785–89, 3250|
Hamelin is also the gateway to the surrounding Weserbergland mountains, which are popular with hikers and bikers.
The town is famous for the folk tale of the Pied Piper of Hamelin (German: Der Rattenfänger von Hameln), a medieval story that tells of a tragedy that befell the town in the thirteenth century. The version written by the Brothers Grimm made it popular throughout the world; it is also the subject of well-known poems by Goethe and Robert Browning. Although Hamelin has a fine medieval old town with some remarkable buildings, the main attraction is the tale of the Pied Piper. In the summer every Sunday, the tale is performed by actors in the town centre.
Hamelin started with a monastery, which was founded as early as 851 AD. A village grew in the neighbourhood and had become a town by the 12th century. The incident with the Pied Piper is said to have happened in 1284 and may be based on a true event, although somewhat different from the tale. In the 15th and 16th centuries Hamelin was a minor member of the Hanseatic League.
In June 1634, during the Thirty Years' War, Lothar Dietrich Freiherr von Bönninghausen, a General with the Imperial Army, lost the Battle of Oldendorf to Swedish General von Kniphausen, in the process of which Hamelin was besieged by the Swedish army.
Hamelin was surrounded by four fortresses, which gave it the nickname "Gibraltar of the North". It was the most heavily fortified town in the Kingdom of Hanover. The first fort (Fort George) was built from 1760–1763, the second (Fort Wilhelm) and third were built 1774 and 1784, the last fort (called Fort Luise) was built 1806.
In 1808 Hamelin surrendered without fighting to Napoleon, after the Battle of Jena-Auerstedt was lost. All of the historic walls and guard towers were pulled down by Napoleon's forces. In 1843 the people of Hamelin built a sightseeing tower out of the ruins of Fort George on the Klüt Hill. The sightseeing tower is called the "Klütturm" and is a popular spot for tourists with an amazing view over the historic town.
During the Second World War, Hamelin prison (de) was used for the detention of Social Democrats, Communists and other political prisoners. Around 200 died here; more died afterwards, when the Nazis sent the prisoners on death marches in April 1945 fearing the Allied advance. Just after the war, Hamelin prison was used by British Occupation Forces for the detention of German war criminals. Around 200 of them were hanged there including Irma Grese, Josef Kramer and over a dozen of the perpetrators of the Stalag Luft III murders. It has since been turned into a hotel.
- Hilligsfeld (including Groß and Klein Hilligsfeld)
- Sünteltal (including Holtensen, Welliehausen and Unsen)
- Klein Berkel
- Tündern (pop. around 2,700),
Historical population 
Famous citizens 
- Gluckel of Hameln
- Heinrich Bürger (1806–1858)
- Heinz Knoke (1923–1993)
- Karl Philipp Moritz
- Friedrich Wilhelm von Reden
- Peter the Wild Boy (found 1725)
- Susan Stahnke (born 1967)
- Saint Vicelinus (1086–1154), born in the town
- Electronic group Funker Vogt
- Johann Popken, founder of company that became Ulla Popken
- Friedrich Sertürner, first to isolate morphine from opium (1822-1841)
British army presence 
See also 
Golden rat on a Wester bridge in Hameln
|Wikimedia Commons has media related to: Hameln|
|Wikisource has the text of the 1911 Encyclopædia Britannica article Hameln.|
- Official website (German)
- Local newspaper (German)
- 28 Engineer Regiment
- British-German-Club of Hameln
- Historic Photographer of Hameln