Religion in Taiwan is characterised by a diversity of religious beliefs and practices, predominantly those pertaining to the continued preservation of the ancient Chinese culture and religion. Freedom of religion is inscribed in the constitution of the Republic of China (Taiwan), and ranks high at 9.2 on the Freedom Scale in 2018 according to the World Bank. The majority of Taiwanese people practice a combination of Buddhism and Taoism often with a Confucian worldview, which is collectively termed as Chinese folk religion. Many statistical analyses try to distinguish between Buddhism and Taoism in Taiwan, which, along with Confucianism, are rather aspects within broader "ancient Chinese religion". It is hard to make such distinction because various Taoist deities are worshipped alongside deities which originated in Buddhism, for instance Guanyin, in many temples across the country. , there were 15,175 religious buildings in Taiwan, approximately one place of worship per 1,572 residents. 12,279 temples were dedicated to Taoism and Buddhism. There were 9,684 Taoist Temples, 2,317 Buddhist Temples, and 2,845 Christian Churches. In Taiwan's 36,000 square kilometers of land, there are more than 33,000 places for religious (believers) to worship and gather. Averaging almost one religious building (temple, church, etc.) for every square kilometer, Taiwan is considered to have the highest density of religious buildings, making it the "most religious" region in the area where Chinese is the majority language. History Prior to the 17th century, the island of Taiwan was inhabited by the Taiwanese aborigines of Austronesian stock, and there were small settlements of Chinese and Japanese maritime traders and pirates. Taiwanese aborigines traditionally practised an animistic ethnic religion. When the island fell under Dutch rule in 1624, Protestantism was spread to the Taiwanese aborigines. Two years later, with the transition to Spanish rule, the Catholic Church was introduced into the island. When the Han Chinese began to settle the island and form the Taiwanese Chinese ethnic group, exchanges between the indigenous religion of the Austronesian aborigines and the Chinese folk religion occurred. For instance, Ali-zu, the Siraya god of fertility, has been incorporated into the Han pantheon in some places of Taiwan. 17th and 18th centuries A large influx of Han Chinese began in the 1660s with the transition of imperial power from the Ming dynasty to the Manchurian Qing dynasty. Many Ming loyalists fled to the south, including Zheng Chenggong alias Koxinga, a military warlord who fought against the