The Macau Peninsula has a gate built on the northern isthmus, for how long did it serve as a border?
Portas do Cerco The Portas do Cerco is an area in Nossa Senhora de Fátima, Macau, China. Located on the northern tip of the Macau Peninsula, it is known by its border gate separating Macau from mainland China. The gate was built in 1849 to replace a crumbling wall that was erected in 1573 to mark the border of the Portuguese colony. It was the site of the Passaleão Incident, a clash between the Qing dynasty and the Kingdom of Portugal in 1849 over the death of Macau's governor Ferreira do Amaral. Led by Colonel Mesquita, Portugal won the small battle which led to the extension of Macau's border northwards. At the limit of said expansion, the Portas do Cerco was built with the inscription "A pátria honrai, que a pátria vos contempla" (Portuguese for "Honor your motherland, for your motherland looks over you") on the façade on its inner arch in 1849. For the next 155 years, the gate served as the border between Macau and China.
Johor Sultanate The Sultanate of Johor (or sometimes Johor-Riau or Johor-Riau-Lingga or Johor Empire) was founded by Malaccan Sultan Mahmud Shah's son, Sultan Alauddin Riayat Shah II in 1528. Johor was part of the Malaccan Sultanate before the Portuguese conquered Malacca's capital in 1511. At its height, the sultanate controlled modern-day Johor, Riau, and territories stretching from the river Klang to the Linggi and Tanjung Tuan, Muar, Batu Pahat, Singapore, Pulau Tinggi and other islands off the east coast of the Malay peninsula, the Karimun islands, the islands of Bintan, Bulang, Lingga and Bunguran, and Bengkalis, Kampar and Siak in Sumatra. During the colonial era, the mainland part was administered by the British, and the insular part by the Dutch, thus breaking up the sultanate into Johor and Riau. In 1946, the British section became part of the Malayan Union. Two years later, it joined the Federation of Malaya and subsequently, the Federation of Malaysia in 1963. In 1949, the Dutch section became part of Indonesia.