This article does not cite any references or sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (December 2009) Coordinates: 34°50′N 1°43′W / 34.833°N 1.717°W / 34.833; -1.717 Maghnia (Arabic: مغنية) (formerly Marnia) is a town in Tlemcen Province, northwestern Algeria, near the border with Morocco. It is known for the Treaty of Lalla Maghnia (18 March 1845) between France (which was occupying Algeria at the time) and Abderrahman, Sultan of Morocco, which established the boundaries between Algeria and Morocco. The National Route 6 connects it to cities such as Fes and Meknes in Morocco the west, eventually leading to Rabat.