The grand duchy was bounded by the Baltic coast in the north and the Prussian province of Pomerania in the northeast, where the border with the Hither Pomeranian (formerly Swedish Pomeranian) region ran along the Recknitz river, the Peene, and Kummerower See. In the south it bordered with the Prussian province of Brandenburg (with the exclaves of Rossow and Schönberg near Wittstock) and in the southwest with the Amt Neuhaus district held by the Kingdom of Hanover, which was incorporated into the Prussian province of Hanover after the Austro-Prussian War in 1866. Likewise in the west, the Duchy of Holstein was incorporated into the Schleswig-Holstein Province, after which Mecklenburg was almost entirely surrounded by Prussian territory.