Instead of towers, the Rampart had 34 gates for passage. As a defense measure, Streltsy slobodas were located next to these gates, especially in southern Yakimanka and Zamoskvorechye Districts. Effective against Tatar raiders, Streltsy were politically unstable. After Streltsy Uprising of 1698, Peter I arranged mass executions of Streltsy on the Earth Rampart, hanging 36 soldiers at each of Zamoskoverchye gates and 56 at Taganka gates; the remainder of Streltsy troops were disbanded by the end of Peter's reign. In 1683-1718, the Rampart served as Moscow customs border; traders, evading taxation, set numerous markets right outside of city gates; the last of these, Zatsepa Market, was closed in the 1970s. Eventually, Peter I lifted this taxation in 1722, but it resumed in the 1730s at the new city border, Kamer-Kollezhsky Val.