Together with the city wall , a form of toll or excise barrier , and the other gates it was intended to prevent desertion and smuggling .
Together with the city wall , a form of toll barrier , and the other gates it was intended to prevent desertion and smuggling .