It has a long history. It was a defensive facility in the Ming Dynasty. Used to defend against invading enemies at sea.