 Stahnsdorf in the Margraviate of Brandenburg was first documented in a 1264 purchase contract of Margrave Otto III and the Brandenburg bishop.It originally consisted only of its old village green on a formerly important merchant road from Leipzig in Saxony via Güterfelde and Stahnsdorf, crossing the Bäke creek (the present-day Teltow Canal) at Kleinmachnow, and running northwards to Spandau.With the construction of the Teltow Canal in the early 20th century, the opening of the large Southwest Cemetery in April 1909, the "Wilmersdorfer Waldfriedhof" and "Friedenauer Waldfriedhof" in 1913, and the opening of the S-Bahn route from Berlin-Wannsee station in June 1913 the development in a Berlin suburb began.