The strategic location of Rostock provoked the envy of its rivals. Danes and Swedes occupied the city twice, first during the Thirty Years' War (1618–48) and again from 1700 to 1721. Later in the early 19th century, the French, under Napoleon, occupied the town for about a decade until 1813. In nearby Lübeck-Ratekau, Gebhard Leberecht von Blücher, who was born in Rostock and who was one of few generals to fight on after defeat at the Battle of Jena, surrendered to the French in 1806. This was only after furious street fighting in the Battle of Lübeck, in which he led some of the cavalry charges himself. By the time of the surrender, the exhausted Prussians had neither food nor ammunition.