with the Formosa natives." On a night in 1636, a group of local people, angered by the taxes that the Spanish governor had imposed, successfully attacked the fort and demolished it. In 1637, the Spanish rebuilt the fort using stone and raised the walls' height to twenty feet or more. A church was also built on a hill, and the locals helped to make a road to it from the fort. "Peter Nuits the Dutch Governor of Formosa, reported these facts to his home authorities and exposed in an interesting report the injury that the Spaniards were doing to Dutch trade and the necessity of sending an expedition to drive them away." After a failed first attempt in 1641, the Dutch made a second expedition on 3 August 1642: "the Dutch appeared off Tamsui with a comparatively powerful squadron of four frigates, a large cutter, nine small vessels, besides several transports..." After the Dutch mounted artillery at an elevation commanding the fort, they succeeded in taking the fort on 24 August. The Dutch also expelled the Spaniards from nearby Keelung. The Spanish fort in Tamsui had by then already been razed by the Spanish themselves. It is also claimed that no traces remain of the forts on Palm Island, as they were destroyed by Zheng Jing, son of Koxinga. Dutch era The Dutch then became the "undisputed masters of Formosa", and built a new fort on the site with the intention to maintain the trade of sulfur and deer skin, while also deploying vessels in the Tamsui River to protect the trading zone. The fort was named as Fort Antonio, with the name of Governors-General of the Dutch East Indies, Anthony van Diemen, during the time. In 1644, they replaced it with the structure still standing today, also called Fort Antonio. The "Old Dutch Fort" made of brick and stone has been described as "impregnable against any engines of war that those early days could produce." The locals called the Dutch "the red-haired people", which led to the compound's Hokkien name (). Qing era From 1683 to 1867 the Qing Dynasty Chinese government controlled the fort and during this time (1724) built a stone wall with four gates around it, of which only one, the main gate, survives. Following the Second Opium War, in 1868 the British took over the fort, made it their trade consulate, and painted it red