HALL OF MYRIAD PATHSVẠN ĐẠO ĐƯỜNGTiếng ViệtVIMaster Ưng Khiêm's site
HALL OF MYRIAD PATHS

State Temple of the Martial God and Grand Mazu Temple, Tainan

State Temple of the Martial God, Official God of War Temple, Sacrificial Rites Martial Temple, Grand Mazu Temple Tainan, 臺灣祀典武廟, 祀典大天后宮

Twin Qing imperial state-rite sanctuaries standing shoulder to shoulder on historic Eagle Ridge in Tainan's old prefectural capital, uniting the 1665 Martial Temple of Guan Di with the 1664 royal palace of Ming Prince Zhu Shugui reborn in 1684 as Taiwan's first official Empress of Heaven palace.

Founded
1665 Martial, 1684 Mazu
Built during the Kingdom of Tungning (1664 to 1665) and early Kangxi Qing transition
Imperial status
Twin Sidian State Monuments
Inscribed in the Qing imperial sacrificial canon (1720 and 1727) and named National Monuments (1983)
Crown treasures
1791 Plaque and 1685 Stele
66-meter vermilion gable wall, Yang Tingli's Dazhangfu plaque and Admiral Shi Lang's 1685 stele

Directly across Minzu Road from Chihkan Tower (the seventeenth-century Dutch bastion of Fort Provintia) in West Central District, the historic heart of Tainan City, a short stroll along brick-paved Yongfu Road brings visitors before an architectural and historical pairing unmatched anywhere else in Taiwan: the State Temple of the Martial God (臺灣祀典武廟, Sidian Wumiao) and, tucked immediately behind it down a stone alleyway, the State Grand Mazu Temple (臺灣祀典大天后宮, Sidian Da Tianhou Gong). Both sanctuaries bear the rare Qing imperial prefix Sidian (祀典, Official State Sacrificial Canon), signifying that prefectural mandarins were commanded by imperial decree to perform solemn Spring and Autumn state sacrifices within their halls on behalf of the Emperor.

Complementing the nearby Tainan Confucius Temple (founded in 1665 less than a kilometer south to form the classical capital pairing of Civil Sage and Martial Sage), these twin National Monuments preserve more than three and a half centuries of Taiwan's formative memory: the loyalist tragedy of the last Southern Ming prince in 1683, the Qing Empire's statecraft through Taoist and Confucian ritual integration, and the final headquarters of the short-lived Republic of Formosa in 1895.

State Temple of the Martial God, Tainan
State Temple of the Martial God, Tainan. Photo: Felix Filnkoessl, licence CC BY-SA 2.0, source Wikimedia Commons.

IMartial Sage Guan Di Alongside Empress of Heaven Mazu in Qing Imperial Statecraft

Enshrined in the soaring Main Hall of the State Temple of the Martial God is Martial Sage Guan Di (Guan Sheng Dijun, the Three Kingdoms general Guan Yu, 160 to 220). In the 19th year of the Southern Ming Yongli calendar (1665), Zheng Jing (son and successor of Koxinga in the Kingdom of Tungning) erected a Guan Di shrine atop Eagle Ridge in his capital of Dongning to rally Ming loyalist righteousness. After Qing forces incorporated Taiwan, Emperor Yongzheng decreed in 1727 (Yongzheng 5th year) that three generations of Guan Yu's ancestors be ennobled with ducal titles and elevated the Tainan shrine into the official State Temple of the Martial God (Sidian Wumiao), making it the island's supreme martial sanctuary paired directly with the Tainan Confucius Temple.

Barely fifty paces away along Lane 227 stands the State Grand Mazu Temple, Taiwan's first officially commissioned Mazu palace and the first sanctuary on the island to venerate Lin Moniang under her supreme imperial title Tianhou (Empress of Heaven, elevated above her earlier Ming title of Celestial Consort). Its palatial halls originally stood as the Princely Residence of the Prince of Ningjing, constructed in 1664 for Zhu Shugui (朱術桂, 1617 to 1683, Prince of Ningjing and ninth-generation descendant of Ming founder Emperor Hongwu). In the sixth lunar month of 1683, after Qing Admiral Shi Lang defeated the Tungning fleet in the Penghu Islands, Prince Zhu Shugui burned his land deeds so tenant farmers could keep their fields free of debt, entrusted his palace halls to the resident Buddhist monk as a sacred sanctuary, and after his Five Consorts (Lady Yuan, Lady Wang, Xiugu, Meijie and Hejie) took their own lives together in Ming fidelity, hanged himself from the crossbeam of his rear hall.

According to the tradition

Historical scholarship on the transformation of Prince Ningjing's residence into the Grand Mazu Temple between 1683 and 1684 preserves two complementary accounts. Traditional Qing gazetteers and Admiral Shi Lang's 1685 stele emphasize statecraft in 1684 (Kangxi 23rd year): recognizing how deeply Tainan's townsfolk mourned the upright Ming prince and wishing to prevent the former royal palace from becoming a rallying point of anti-Qing unrest, Shi Lang petitioned Emperor Kangxi to credit Mazu with calming tempestuous seas and opening a sweet-water spring for his troops at Penghu, elevate her title to Empress of Heaven (Tianhou), and dedicate the palace as an official Tianhou Temple (inscribed into the state Sidian sacrificial canon in 1720). Alongside this official Qing narrative, modern archival studies (cited by Taiwan's Bureau of Cultural Heritage and National Cheng Kung University historians) show that an adjacent Ming-Zheng Dongning Tianfei Shrine already stood nearby and that before ending his life in the sixth lunar month of 1683, Prince Zhu Shugui himself donated his palace as a Buddhist-Mazu sanctuary (shezhai weisi) into the care of Linji Chan monk Venerable Shengzhi (聖知禪師), laying the religious foundation that Shi Lang elevated to imperial rank the following year.

Across both neighboring complexes, imperial state ritual coexists warmly with everyday civic piety. Behind Wumiao's main hall stand the Three-Generations Ancestral Hall honoring Guan Yu's forebears, the serene Guanyin Hall (known in the Ming-Zheng era as the Buddha Hall, Fozuting, within the Yiyuanzi Garden) enshrining the celebrated Weiyu Guanyin (微語觀音, Whispering Guanyin, revered as one of Tainan's Three Great Guanyins of the Prefectural Capital) tilting her head downward as if listening softly to human sorrows, the Five Wenchang Hall where students pray before civil and university exams, and one of Tainan's four celebrated Yue Lao (Old Man Under the Moon) Matchmaker Shrines, famed both for tying red threads of marriage and using the deity's wooden staff to sweep away harmful entanglements. Next door in the rear sanctum of the Grand Mazu Temple, worshippers still bow before the preserved Spirit Tablet of Prince Ningjing and memorials to his Five Consorts directly beneath the historic suicide beam, honoring moral integrity across dynastic change.

According to the historical record

Beyond Ming and Qing history, the rear courtyard of the State Grand Mazu Temple witnessed a dramatic chapter of late nineteenth-century East Asian history: in June 1895, when resistance leaders proclaimed the Republic of Formosa against Japanese annexation under the Treaty of Shimonoseki, renowned Black Flag commander Liu Yongfu (1837 to 1917, the very general who had previously fought alongside Vietnamese royal forces in northern Vietnam during the 1870s and 1880s) established his southern presidential headquarters and issued official stamps from inside the rear halls of the Grand Mazu Temple until October 1895.

A common misunderstanding

Visitors exploring West Central Tainan frequently encounter two pairs of similarly named historic temples within walking distance of one another and should distinguish them clearly. On Yongfu Road stand the grand state-commissioned State Temple of the Martial God (Sidian Wumiao, 1665, locally called the Big Guan Di Temple) and State Grand Mazu Temple (Sidian Da Tianhou Gong, 1684), whereas just a few blocks west along narrow Xinmei Street and Ziqiang Street stand the smaller folk-built Founding Martial Temple (Kaiji Wumiao, 1669) and Founding Mazu Temple (Kaiji Tianhou Gong, 1662). While all four date to the seventeenth-century Tungning era, the twin Yongfu Road complexes bearing the title Sidian are the monumental Class-1 National Monuments built to imperial sacrificial scale.

IIThree Hundred Sixty Years from Kingdom of Tungning Courts to Class-1 National Monuments

Sharing a contiguous ridge that once overlooked Tainan's busy inner-sea anchorage, the two state temples evolved side by side through every political transformation of Taiwan's ancient southern capital.

  • 1664 to 1665Construction of Prince Ningjing's Palace (1664) and the Guan Di Temple (1665) under Zheng Jing
    During the Southern Ming Yongli era in Dongning, Zheng Jing built the royal residence for Ming Prince Zhu Shugui in 1664 and established the adjacent Guan Di Temple in 1665 alongside the Tainan Confucius Temple.
  • 1683 to 1685Prince Ningjing's palace donation and martyrdom, Shi Lang's 1684 petition and the 1685 Stele
    In the sixth lunar month of 1683 Prince Zhu Shugui entrusted his palace to Chan monk Shengzhi before taking his life with his Five Consorts. In 1684 Qing Admiral Shi Lang petitioned Emperor Kangxi to establish the official Tianhou Temple, erecting his Pacification of Taiwan Stele in 1685.
  • 1720 to 1727Elevation of both sanctuaries into the Qing Imperial Sacrificial Canon (Sidian)
    The Grand Mazu Temple entered official state rites in 1720 (Kangxi 59th year), followed in 1727 (Yongzheng 5th year) by the elevation of the Guan Di shrine into the State Temple of the Martial God.
  • 1775 to 1791Grand Qianlong restorations by Prefect Chiang Yuan-shu and the 1791 Dazhangfu Plaque
    Taiwan Prefect Chiang Yuan-shu directed comprehensive architectural expansions of both temples in the late 1770s, and in 1791 Intendant Yang Tingli presented the celebrated plaque Dazhangfu ('Great Man of Integrity') at the Martial Temple.
  • 28 December 1983Joint designation among Taiwan's inaugural Class-1 National Monuments
    Recognizing their unmatched seventeenth- and eighteenth-century fabric, Taiwan's central government designated both the State Temple of the Martial God and the State Grand Mazu Temple as Class-1 National Monuments in December 1983.
According to the historical record

Tucked inside the western courtyard of the State Temple of the Martial God stands Liuhe Hall (六和堂), an extraordinary eighteenth-century neighborhood civic hall established jointly by six surrounding merchant streets (Blacksmith Street, Hat Street, Straw-Sandal Street and Brush Street) to organize night watches, firefighting brigades and classical Nanguan chamber-music rehearsals.

IIIThe Sixty-Six-Meter Vermilion Gable Wall, Mencian Calligraphy and Ming Royal Timberwork

Free from gaudy modern rebuilding, both Tainan state sanctuaries exemplify restrained, monumental Qing dynasty Minnan timber-and-brick craftsmanship, where sweeping vermilion walls, high thresholds and imperial calligraphy command quiet awe.

The Iconic 66-Meter Vermilion Horse-Back Gable Wall of the Martial Temple

Stretching along Yongfu Lane, Wumiao's continuous 66-meter-long, 5.5-meter-tall cinnabar-red side wall rises and dips gracefully through swallowtail ridges, pointed gables and rounded horse-back profiles, celebrated as the finest historical temple roofline in Taiwan.

72 Imperial Door Studs and the 1791 Plaque 'Dazhangfu' (Great Man of Integrity)

Following Qing court protocol for Martial Temples, the main doors replace painted Door Gods with 72 gilt hemispherical studs. Inside the lofty vaulted worship hall hangs Intendant Yang Tingli's 1791 plaque Dazhangfu, ranked among Tainan's Four Great Historic Plaques.

Guanyin Hall (Historic Buddha Hall), the Ming Prince's Ancient Plum Tree and Yue Lao Chapel

In Wumiao's tranquil rear compound, a gnarled centuries-old plum tree attributed to Prince Ningjing blossoms white each winter beside the Guanyin Hall's contemplative tilted-head Weiyu Guanyin and the bustling red-thread shrine of Matchmaker Yue Lao.

Palatial Vaulted Worship Hall and the 1683 Martyrdom Beam at Grand Mazu Temple

Retaining the grand courtyard breadth of the 1664 royal residence, the Grand Mazu Temple boasts a spacious barrel-arched worship canopy, an 1830 granite dragon-and-tiger ramp stone, and the preserved rear crossbeam where Prince Zhu Shugui ended his life in 1683.

Admiral Shi Lang's 1685 Stele and Plaques of Seven Qing Emperors

The Grand Mazu Temple shelters Taiwan's oldest extant Qing official stone monument, Shi Lang's 1685 Record of Pacifying Taiwan Stele, alongside imperial calligraphic plaques bestowed across seven reigns from Kangxi and Yongzheng to Qianlong and Guangxu.

Principal architectural landmarks and historical relics of Tainan's twin State Temples. Source: Bureau of Cultural Heritage, Ministry of Culture (BOCH) and Cultural Affairs Bureau, Tainan City Government..
Monumental feature or treasureHistorical dateLocationCultural and architectural importance
Vermilion Gable Wall and Soaring Main HallFounded 1665, major Qianlong form 1777Eastern flank of State Martial TempleMasterpiece of classical Minnan brickwork and sweeping three-tier acoustic ceiling
Dazhangfu Plaque (大丈夫)1791 (Qianlong 56th year), by Yang TingliWorship hall of State Martial TempleOne of Tainan's Four Great Plaques, invoking Mencius on incorruptible moral courage
Record of Pacifying Taiwan Stele (平臺紀略碑記)1685 (Kangxi 24th year), by Admiral Shi LangCorridor of State Grand Mazu TempleOldest surviving official Qing dynasty stone inscription in Taiwan
Imperial Plaques of Qing Emperors18th to 19th centuries (Yongzheng to Guangxu)Main Sanctum of State Grand Mazu TempleUnmatched collection attesting to imperial state-rite rank
Weiyu Guanyin ('Whispering Guanyin') and Ancient Ming Plum TreeLate 17th century (Ming-Qing transition)Guanyin Hall and rear courtyard of State Martial TempleOne of Tainan's Three Great Guanyins linking Buddhist devotion and Dongning history

IVLandform Reading: Eagle Ridge Overlooking the Historic Taijiang Sea and Orthogonal Sacred Axes

To appreciate why a Southern Ming royal palace and two supreme Qing state temples clustered together along a single block of Yongfu Road, one must reconstruct seventeenth-century Tainan's coastal landform before river sediment filled the western lagoon.

Terrain and orientation

Examined at 22.99640 degrees north latitude and 120.20200 degrees east longitude in West Central Tainan, both complexes crown the western shoulder of Jiuling (鷲嶺, Eagle Ridge, the elevated 14-meter ancient sand-dune spine of old Tainan anchored at its crest by Beiji Temple). In the 1660s through the eighteenth century, the open waters of the Taijiang Inner Sea (臺江內海) lapped just west of Chihkan Tower and the Grand Mazu Temple's forecourt, while meandering Deqing Creek (德慶溪) curved past the northern flank into the harbor channel like a protective Green Dragon watercourse.

Remarkably, although the two sanctuaries stand virtually wall-to-wall, they orient along perpendicular axes tailored precisely to each deity's cosmic role. The State Grand Mazu Temple retains the 1664 royal palace axis of Sitting East Facing West (slightly Northwest): its rear halls lean securely against the high crest of Eagle Ridge as a Black Tortoise backing mountain while its gates gaze straight westward across the former Taijiang lagoon toward Lu'ermen harbor mouth and the Taiwan Strait (where Ming Prince Zhu Shugui once looked wistfully toward his lost homeland and where Empress Mazu watched over incoming ships). Immediately adjoining its southeastern flank, the State Temple of the Martial God adopts the sovereign Sitting North Facing South axis, projecting righteous southern yang energy down Yongfu Road in direct axial dialogue with the Tainan Confucius Temple to the south. Together, flood-safe Eagle Ridge and these interlocking South and West axes anchored four centuries of Tainan's cultural vitality.

VSpring and Autumn State Sacrifices, Qixi Coming-of-Age Rites and Vietnamese Life in Tainan

True to Tainan's dignity as Taiwan's cultural capital, annual observances at the twin Yongfu Road temples blend Qing-inherited Spring and Autumn State Sacrifices with cherished Prefectural Capital Lunar festivals governed by the traditional Lunar calendar.

Annual Lunar liturgical and state sacrificial calendar at Tainan's twin National Monuments. Source: Cultural Affairs Bureau of Tainan City and temple boards of Sidian Wumiao and Sidian Da Tianhou Gong..
Time of yearCalendar observedState sacrifice or civic festivalDistinctive observance at Wumiao and Grand Mazu Temple
15th day of 1st Lunar month (Lantern Festival)Lunar calendarSpring Blessing Lamps Beneath the Ancient Plum BlossomsWorshippers gather in Wumiao's rear courtyard to admire winter-spring plum blossoms and light annual peace lanterns.
Spring and Autumn (and 15th of the 5th or 24th of the 6th lunar month)Lunar calendarOfficial Sidian Martial Sage Sacrificial Rites and Guan Di's BirthdayTainan's Mayor serves as Chief Celebrant in ceremonial robes performing classical Three-Libation rites inherited from the 1727 Yongzheng decree.
20th to 23rd days of 3rd Lunar monthLunar calendarEmpress of Heaven Mazu's Birthday and Old Prefectural Capital ProcessionThe State Grand Mazu Temple leads solemn palace birthday liturgies and historic processions visiting dozens of centuries-old guild temples across old Tainan.
7th day of 7th Lunar month (Qixi Festival)Lunar calendarTainan Coming-of-Age Rite (Zuo Shiliu Sui) and Yue Lao Matchmaking DayThousands of singles visit Wumiao's Yue Lao Shrine to request red marriage threads while sixteen-year-olds celebrate Tainan's unique Qixi adulthood thanksgiving.
26th day of 6th Lunar monthLunar calendarMemorial Rite for Ming Prince of Ningjing Zhu Shugui and the Five ConsortsIncense and floral offerings inside the rear hall of the Grand Mazu Temple honoring the 1683 royal martyrdom.

Modern Tainan unites Taiwan's oldest cultural neighborhoods with the booming Southern Taiwan Science Park (STSP) and Yongkang and Rende industrial zones, supporting thousands of Vietnamese graduate students (at National Cheng Kung University NCKU, Kun Shan University and Southern Taiwan University of Science and Technology), engineers, factory workers and Vietnamese spouses. Situated right amid Yongfu Road's famous century-old winter-melon tea shops and Danzai noodle stalls, the vermilion wall of Wumiao and the tranquil courtyards of the Grand Mazu Temple are favorite weekend gathering places where Vietnamese students and families offer prayers to Guan Di for academic and career steadiness, tie red wishes at Yue Lao's chapel, and pay respects to Mazu in Tainan's timeless historical light.

VILocation And How To Get There

Address
No. 229, Sec. 2, Yongfu Road & No. 18, Lane 227, Sec. 2, Yongfu Road, West Central District, Tainan City 700, Taiwan (臺南市中西區永福路二段229號祀典武廟及227巷18號祀典大天后宮)
Getting there
From TRA Tainan Railway Station (just 1.2 kilometers east), walk 15 minutes west along Chenggong Road or Minzu Road, or board Tainan City Bus Route 3, Route 5, or Taiwan Tourist Shuttle Route 88 or 99 for five minutes to Chihkan Tower Stop. Directly across Minzu Road stand the State Temple of the Martial God and the Grand Mazu Temple. Travelers arriving at THSR Tainan Station can ride the direct TRA Shalun commuter train (22 minutes) straight into TRA Tainan Station.
Coordinates
22.9964, 120.202
When you arrive

Plan at least ninety minutes to explore both National Monuments together: after visiting the State Temple of the Martial God on Yongfu Road, step directly into stone-paved Lane 227 (Fortune-Telling Alley) running along Wumiao's northern wall to emerge fifty meters later in the forecourt of the State Grand Mazu Temple. Because both complexes preserve high wooden imperial thresholds, step cleanly over rather than standing on the sill, and take time to view Admiral Shi Lang's 1685 stone stele and the quiet rear courtyard plum tree.

Nearby places in the library

VIIContribute To This Page

Contribute photos, information or video for State Temple of the Martial God, Tainan

Góp ảnh, thông tin hoặc video cho Võ Miếu Đài Nam và Đại Thiên Hậu Cung (Di tích cấp Quốc gia), Đài Nam

Everyone is welcome to enrich this page: a photo you took, a detail the page misses, a short video. Every contribution is read and answered.

Thầy Ưng Khiêm mời cộng đồng cùng làm giàu trang này. Ảnh chụp tận nơi, một chi tiết lịch sử chưa được nhắc, một đoạn video ngắn: mọi đóng góp đều được đọc và trả lời.

Once published, your name is credited right here on this place's page. Sau khi được đăng, tên bạn sẽ được ghi công ngay tại mục địa điểm này. Photos and videos must be your own or shared with permission.

No community contribution yet. You could be the first. Chưa có đóng góp nào từ cộng đồng. Bạn có thể là người đầu tiên.

?Quick Questions

What does the imperial title Sidian ('Sacrificial Rites') mean in the names of both Tainan temples?

Sidian indicates that the Qing imperial court formally inscribed both sanctuaries into the Empire's official Sacrificial Canon (Grand Mazu Temple in 1720, Martial Temple in 1727), requiring top prefectural officials to perform Spring and Autumn state sacrifices there in ceremonial court dress.

Why does Tainan's State Grand Mazu Temple have the layout of a Ming royal palace?

Because the complex was built in 1664 as the royal residence of Ming Prince of Ningjing Zhu Shugui. Before taking his life alongside his Five Consorts in the sixth lunar month of 1683, the Prince donated his residence to Chan monk Shengzhi as a sanctuary, and in 1684 Qing Admiral Shi Lang petitioned Emperor Kangxi to elevate the palace into Taiwan's first official Empress of Heaven temple.

What is the story behind the famous 1791 Dazhangfu plaque inside the Martial Temple?

Brushed in 1791 by Taiwan Intendant Yang Tingli, Dazhangfu ('Great Man of Integrity') quotes Mencius's definition of true moral greatness that neither wealth can corrupt, poverty shake, nor force bend, celebrating Guan Yu's steadfast righteousness.

Why do young visitors flock to the Yue Lao Shrine in the rear courtyard of the Martial Temple?

Ranked among Tainan's Four Great Matchmaker Shrines, Wumiao's Yue Lao holds a wooden staff as well as red marriage threads, revered both for uniting sincere partners and gently sweeping away unhealthy romantic attachments.

How close are the State Temple of the Martial God and the State Grand Mazu Temple to each other?

They stand virtually wall-to-wall directly opposite Chihkan Tower on Section 2 of Yongfu Road in West Central Tainan, connected by a charming 60-meter walk down stone-paved Lane 227.

›Read Next