 At its narrowest point, just before it joins the mainland, a wall was built from Ston to Mali Ston.Throughout the era of the Republic, the walls were maintained and renovated once they meant to protect the precious salt pans that contributed to Dubrovnik's wealth, which are still being worked today.Demolition work began on the walls following the fall of the Republic.