The walled town, built in the late 14th century (the Hongwu reign) and fully "restored", has a lot of interesting old architecture. The walled town is roughly elliptical, stretched along the shore of a cove south of it, which must have served as the harbor for the town's original garrison. As it usually the case with such towns, it has several gates, at least one in each direction. One can freely enter the town from the northern gate; however, the southern gate (facing the sea) is blocked, as it leads into the designated "Scenic Area" (ticket required, sea below). The southern (harbor-facing) part of the city wall has been heavily restored, and provided with a paved walkway on top, which can be entered from inside the town (near the south gate).