A Religious Center with the Structure of a Castle
Anyoji Castle was not simply a temple surrounded by ordinary residential buildings. It was a fortified religious complex with defensive features designed to protect its religious community and its extensive sphere of influence.
During the Sengoku period (1467–1615), Buddhist institutions in the Hokuriku region could possess considerable political and military power. Anyoji Gobo was one of the most influential examples of this phenomenon in Etchu Province, corresponding broadly to present-day Toyama Prefecture.
The complex served as a major base for the Ikko-ikki movement. Its combination of religious authority, a large network of affiliated temples, and defensive facilities made it an important center of regional power.
The Castle’s Layout and Defensive Structures
A Main Enclosure Approximately 200 Meters Square
The main enclosure of Anyoji Castle was approximately 200 meters on each side, forming a large square. It was surrounded by dry moats and earthen ramparts, which provided protection against potential attacks.
The presence of these substantial defensive structures demonstrates that the site was designed to function as more than a conventional religious establishment. Its layout reflected the need to defend an important religious and political center during a period of frequent conflict.
A Temple Town Enclosed Within the Outer Defenses
To the east of the main enclosure was an area known as Teramachi, or Temple District. This area contained a temple-centered settlement in which the arrangement of buildings and streets was organized around the religious complex.
The main enclosure and the surrounding settlement formed an extensive defensive layout known as a sogamae, or comprehensive outer enclosure. This arrangement protected not only the central religious facilities but also the wider community associated with them.
Defensive techniques such as yokoya-gakari, a design that allowed defenders to attack intruders from the side, were also incorporated into the outer defenses. Such features indicate a sophisticated approach to the protection of the settlement.
Historical Place Names and the Eastern Gate
At the eastern end of the outer enclosure was a location known as Daimon, meaning Great Gate. The ground there remains slightly higher than the surrounding area, preserving a subtle indication of the former layout.
Another place name, Ochin, is also associated with the castle grounds. It refers to a type of facility traditionally found at temples belonging to the branch family of the Hongwanji religious institution.
These surviving place names offer valuable clues for understanding the former arrangement and character of the religious settlement, even though most of its original buildings no longer remain.
A Strategic Location Between Etchu and Kaga
Anyoji Castle was situated near an important route connecting Etchu Province and Kaga Province, the latter corresponding mainly to present-day southern Ishikawa Prefecture.
The road known as Tajika-goe was an important route across the provincial border. Because it led to Anyoji Castle, it was also called Anyoji-goe.
This geographical position made the complex important not only as a religious center but also as a strategic location for transportation and military operations. Its access to routes linking neighboring regions helped support its influence during the Sengoku period.
The Origins of Anyoji Gobo and the History of Shokoji Temple
From Tsuchiyama Gobo to Takakoba
The origins of Anyoji Castle can be traced to Tsuchiyama Gobo, an earlier Jodo Shinshu religious center in Etchu.
According to the historical account, the original institution was established in the early Bunmei era (1469–1487) by Sho’nyo-ni, the wife of Nyojo. Rensei, the fourth son of Rennyo, the eighth head of Hongwanji, subsequently entered the temple as its resident priest.
In 1494, during the Meiō era, the religious center was moved to Takakoba in Tonami District. It later became known as Shokoji Temple in 1517, during the Eishō era.
The Establishment of Anyoji Gobo in 1519
In 1519, during the Eishō era, the institution moved again, this time to the area now known as Suetomo in Oyabe City. Anyoji Gobo was established at this location.
Unlike many Jodo Shinshu temples in the Hokuriku region, which were often built in mountainous areas, Anyoji Gobo was situated on relatively flat land near a major river.
This location reflects the changing character of castles and fortified religious centers during the Sengoku period, when some strongholds developed from mountain-based defenses into larger settlements on the plains.
A Religious Institution with Enormous Influence
Anyoji Gobo became one of the most powerful religious institutions in the region. Its temple holdings were said to have amounted to more than 100,000 koku of rice, a traditional unit used to measure agricultural production and economic strength.
It functioned as one of the two most important bases of the Ikko-ikki in Etchu, alongside Zuisenji Temple. Its influence extended far beyond the immediate settlement.
According to the historical account of Oyabe City, the religious network associated with Anyoji Gobo included 62 affiliated temples in Tonami District, 116 in Imizu District, and 81 in Niikawa District, making a total of 259 temples.
With this extensive network of temples and followers, Anyoji Gobo wielded influence comparable to that of a feudal lord. Its importance was rooted not only in religious authority but also in the collective strength of its followers.
Conflict and the Fall of Anyoji Castle
A Stronghold Caught in Regional Power Struggles
During the Sengoku period, Anyoji Castle became involved in conflicts among powerful military leaders and religious groups competing for control of the Hokuriku region.
Its history was connected with prominent figures such as Uesugi Kenshin, Ishiguro Naritsuna, and Sassa Narimasa. During the Genki and Tenshō eras, the religious community also responded to the activities of the Kaga Ikko-ikki, influencing the political and military situation throughout Etchu.
The castle’s strategic location and the extensive network of followers associated with Anyoji Gobo made it an important target in the struggles for regional dominance.
The Attack and Destruction in 1581
In April 1581, during the Tenshō era, Anyoji Castle was attacked while its resident priest, Kenko, was away participating in the Ishiyama War.
The attacking force was led by Ishiguro Naritsuna, the lord of Kifune Castle in Etchu. Taking advantage of the priest’s absence, Naritsuna launched a surprise attack on the stronghold.
The castle and its surrounding settlement were burned down. This destruction brought an end to Anyoji Gobo’s role as a major religious and military center at this location.
The Relocation of Shokoji Temple
In 1584, three years after the destruction of Anyoji Gobo, Shokoji Temple moved to the area of Kokufu Castle in Etchu, corresponding to the location of the present-day Shokoji Temple.
The relocation was facilitated through the efforts of Sassa Narimasa. In the following period, Shokoji received the protection of the Maeda family, which ruled the Kaga Domain.
The relationship between the Maeda family and Shokoji continued throughout the Edo period (1603–1868), linking the history of the former Anyoji Gobo with the later development of one of the region’s most important temples.
The Monument to Numata Taroemon Takanobu
One of the notable historical remains at Anyoji Castle is a stone monument commemorating Numata Taroemon Takanobu, a military commander who defended the stronghold.
Takanobu came to Etchu from Numata in Kozuke Province, an area in present-day Gunma Prefecture. He was invited by Kenko, the head priest of Shokoji, and took responsibility for defending Anyoji Castle.
He is remembered for fighting against the forces of Uesugi Kenshin, Sassa Narimasa, and Ishiguro Sakon. In addition to his military activities, he is also associated with local development and agricultural infrastructure projects.
A Stone Monument Dating from 1733
The monument was erected on October 16, 1733, during the Kyōhō era of the Edo period. It is designated as a municipal historical cultural property by Oyabe City.
The inscription is written in classical Chinese and contains 731 characters. It records the achievements of Takanobu as well as the activities of his descendants, including Taketomo, Michitomo, Nagahide, Hidenobu, and Hidetomo, who was responsible for erecting the monument.
The inscription has weathered over time and is now difficult to read directly. However, a surviving transcription provides information about Takanobu’s military service and his contributions to the development of the surrounding land.
Contributions to Local Agriculture and Water Management
According to the monument’s inscription, Takanobu helped develop land that had been awarded to him in recognition of his military achievements. He also contributed to the construction of irrigation infrastructure, including the Mikemura Irrigation Canal.
These projects supported agricultural development in the area, including the cultivation of land in Minowa Village. His legacy therefore extends beyond military history to include contributions to the local community and its agricultural foundations.
The monument is considered one of the oldest examples of a substantial inscribed stone monument in Toyama Prefecture, making it an important historical resource for understanding the region’s past.
The Present-Day Anyoji Castle Ruins
Today, most of the former Anyoji Castle grounds have been converted into agricultural land. As a result, it is difficult to visualize the full scale of the original fortified religious settlement from the present landscape alone.
Nevertheless, some traces of the former complex remain. These include sections of dry moat and the site of the bell tower, known as the shorodo.
The commemorative stone monument to Numata Taroemon Takanobu and explanatory signs also help visitors understand the historical significance of the location.
Although the large temple buildings, defensive structures, and surrounding settlement have largely disappeared, the remaining features provide important evidence of the site’s former role as a major religious and military stronghold.
A Historic Site Where Religion and Military Power Intersected
Anyoji Castle is a valuable place for understanding the close relationship between religion, politics, and military power in medieval Japan.
Its history illustrates how a Jodo Shinshu religious institution could develop into a powerful regional center, supported by a wide network of affiliated temples and followers. Its defensive layout also demonstrates how religious settlements adapted to the conflicts and political realities of the Sengoku period.
The ruins may appear quiet today, surrounded by farmland and the peaceful rural scenery of Oyabe. Yet this landscape was once home to a major stronghold that played an important role in the history of Etchu and the wider Hokuriku region.
For visitors interested in Japanese medieval history, the Anyoji Castle ruins offer an opportunity to reflect on a period when faith, community organization, and military strength were closely intertwined.