Jiajing Emperor
The first fort was built during the reign of the Ming Jiajing Emperor between 1522 and 1527. Its purpose was to protect Tianjin from attack by wokou sea raiders.