Shōnai Domain's Hamamashike Jin'ya Site: A Frontier Outpost from Japan's Last Samurai Decade
A reconstructed wooden gate stands at the edge of a low hill on Hokkaido's western coast, looking out toward the Sea of Japan. Behind it lie the earthworks and embankments of a samurai garrison that lasted barely seven years. This is the Hamamashike Jin'ya, the headquarters built by the Shōnai Domain of Dewa Province in 1860 to defend the western coast of Ezo — the old name for Hokkaido — against the perceived threat of Russian expansion.
Few sites in Japan capture the strange, fleeting moment between the opening of the country and the collapse of the shogunate as vividly as this hilltop in present-day Ishikari City. The garrison was abandoned in 1868, its 193 stationed samurai withdrawn as the Boshin War broke out far to the south. Earthen ramparts, a moat trace, the line of a hand-dug canal, and a small shrine at the foot of the slope: that is the imprint left behind of an ambitious, ultimately doomed colonization project at the very edge of late-Edo Japan.
The Bakumatsu Crisis That Brought Samurai Here
To understand why men from Tsuruoka, deep in northern Honshu, ended up building a fortified compound on the shore of what is now Ishikari Bay, one has to start with the Treaty of Kanagawa. In 1854 the shogunate opened Hakodate and Shimoda to American ships, ending more than two centuries of seclusion. The following year, alarmed by Russian and other foreign activity along Hokkaido's coasts, the Tokugawa government placed all of Ezo under direct shogunal control and assigned coastal-defense duties to four northern domains: Matsumae, Sendai, Nanbu, Tsugaru and Akita.
By 1859 the situation had grown serious enough that two more domains were added to the defense scheme: Aizu and Shōnai, headquartered at Tsuruoka in present-day Yamagata Prefecture. In September of that year the shogunate granted Shōnai's lord, Sakai Tadaaki, a strip of western Ezo running from Hamamashike (modern Hamamasu) up the coast to Teshio, including the offshore islands of Teuri and Yagishiri. Patrol responsibilities extended even further south, from Otasutsu to Atsuta. For a domain best known for rice farming and Sea-of-Japan commerce, it was an enormous and unfamiliar charge.
Construction began almost immediately. Lumber and supplies were shipped north from Sakata, the domain's port city. Granite foundation stones were quarried near Tsuruoka and carried by sea to the mouth of the Hamamashike River. Because the unloading point sat several hundred meters from the chosen building site, the workers cut a roughly 435-meter canal through the floodplain to float materials inland — an effort so costly it earned the nickname Senryōbori, "the thousand-ryō ditch." The main buildings were finished in 1860, and the following year a wave of settler-soldiers and farmers began clearing land in eight new villages around the compound.
Why This Site Was Designated
The Hamamashike Jin'ya was named a National Historic Site on May 17, 1988, protecting an area of 167,809 square meters. Among the surviving Bakumatsu-era domain outposts on Hokkaido, this one is valued for the unusual completeness of its earthworks; earlier designations had included sites of the Nanbu, Matsumae and Sendai domains. The Agency for Cultural Affairs notes that the layout described in surviving period drawings remains legible on the ground: the line of the western rampart, the moat traces, the platforms where longhouses and storerooms once stood, and the path of the Senryōbori running up from the river.
Equally important is what the site reveals about Edo-period responses to outside pressure. The six-domain defense system was a half-measure born of strained shogunal finances and pragmatic delegation. The Shōnai effort went further than most: settling families on the land, attempting full-scale agriculture, building a Hachiman shrine for the resident community. In 1864 the Shōnai colonists planted what is recorded as the first rice paddy in central Hokkaido. Reading the ground at Hamamashike is, in effect, reading the late-Tokugawa state thinking out loud about its northern problem.
Walking the Grounds
The reconstructed Otemon, the main gate, is the obvious starting point. The current structure was completed in July 2021 by a local volunteer association, the Shōnai-han Jin'ya Kenkyūkai, with support from the Taiyō Foundation, and donated to the city. It marks the original gate's masugata — the rectangular defensive enclosure where attackers would be forced to turn — and frames a view down toward the river and the sea beyond.
Beyond the gate, the ground undulates in ways that only make sense once you have a period drawing in hand. The western ridge carried the rampart; the southern and eastern sides were defended by wooden palisades on the higher ground and by a moat where the land dropped away. Wooden posts placed inside the designated area mark the footprints of individual buildings — the magistrate's office, longhouses for the samurai and their families, the rice store, the bath. A small powder magazine once stood on a separate rise to the east. Behind the main complex, in a valley running northeast, lay the Hachiman shrine that served the garrison.
That shrine survives — not the original buildings, but the institution. Today's Kawashita Hachiman Shrine, immediately adjacent to the historic site, is its direct descendant, and the local community continues to maintain it. To the northwest, a separate hill once held a lookout post commanding the coast from Cape Aikan to Cape Ofuyu. The same hilltop preserves the remains of an Ainu chashi — a fortified site, rare on Hokkaido's Sea-of-Japan side — known as the Kawashita Chashi.
One footnote worth carrying with you: among the samurai who served at Hamamashike was a young man named Matsumoto Jūrō, who later returned to Hokkaido in a very different uniform, serving as a senior official of the Meiji government's Kaitakushi (Colonization Commission). The careers that began here did not all end in 1868.
The Surrounding Area
Hamamasu, the modern district that absorbed Hamamashike Village, sits between the Sea of Japan and the imposing 739-meter cone of Mount Kogane (Koganeyama), a pyramid-shaped peak whose silhouette dominates every horizon. The mountain has been a navigational landmark for fishermen since at least the early 18th century, when the Matsumae Domain opened a herring-fishing post here.
North of the site, the coast becomes more dramatic. Cape Ofuyu, about 30 kilometers up Route 231, is one of the most spectacular stretches of coastline in southwestern Hokkaido, with the Hakugin Falls dropping straight into the sea near a roadside parking area. Closer in, Cape Aikan is known for a curiously eagle-shaped rock formation. Hamamasu itself produces excellent cherries and grapes, and several local wineries have appeared in recent years.
The site is reached by car: roughly 90 minutes north of central Sapporo via Routes 231 and 451, following the coast through Atsuta. There is no railway. The grounds are open and free of charge, with interpretive signage in Japanese.
- 📍 Plan Your Visit to Hokkaido
- Find tours, activities & transport passes near Shonai Domain Hamamashike Jinya Ruins
- [ Explore Sapporo Snow Festivals & Lavender Fields ]
Q&A
- What exactly is a jin'ya?
- A jin'ya was a fortified administrative compound, smaller and less elaborate than a castle, used by domains that did not hold castle privileges or by garrisons posted away from their home castle. Hamamashike served as the Shōnai Domain's headquarters for its newly assigned Ezo territories — a regional capital, supply depot and military base all in one.
- Why did Shōnai Domain end up so far from home?
- The Tokugawa shogunate divided coastal-defense duties on Ezo among six northern domains in 1859. Shōnai, based in Tsuruoka, was assigned the western coast from Hamamashike to Teshio. Its location on the Sea of Japan, with the port of Sakata as a natural shipping base, made it a logical choice for supplying a remote outpost.
- What does "Senryōbori" mean?
- Literally "thousand-ryō ditch." The ryō was a gold coin; "thousand ryō" is shorthand for an extravagantly expensive undertaking. The roughly 435-meter canal that the Shōnai workers dug from the Hamamashike River to the foot of the garrison hill cost enough to earn the nickname, and the channel's trace is still visible today.
- How long was the garrison occupied?
- Less than a decade. Construction finished in 1860, settlers arrived from 1861, and the entire community — samurai, retainers and farmers — was withdrawn in 1868 when the Boshin War forced the domain to recall its forces. The buildings were dismantled or fell into ruin after that.
- Is the Otemon gate original?
- No. The current Otemon was rebuilt in 2021 by local volunteers and donated to Ishikari City. It stands on the original gate's location and follows period drawings, but the wooden structure itself is a reconstruction. The earthworks, moat lines and building platforms around it are original Edo-period features.
Basic Information
| Name | Shōnai-han Hamamashike Jin'ya Ato (荘内藩ハママシケ陣屋跡) |
|---|---|
| Location | Kawashita, Hamamasu-ku, Ishikari City, Hokkaido (former Hamamasu Village, Hamamasu District) |
| Designation | National Historic Site, designated May 17, 1988 |
| Protected area | 167,809.50 m² |
| Built | Main buildings completed in 1860 (Man'en 1); settlement from 1861 |
| Built by | Shōnai Domain (Tsuruoka), Lord Sakai Tadaaki |
| Abandoned | 1868 (Keiō 4 / Meiji 1) |
| Access | Approx. 90 min by car from central Sapporo via Routes 231 and 451. The entrance is by the Kawashita Hachiman Shrine. |
| Admission | Free; the grounds are open to the public year-round (limited access in winter due to snow) |
References
- 庄内藩ハママシケ陣屋跡 — 文化遺産オンライン (Cultural Heritage Online, Agency for Cultural Affairs)
- https://bunka.nii.ac.jp/heritages/detail/189992
- 国指定文化財等データベース — 庄内藩ハママシケ陣屋跡 (National Cultural Properties Database)
- https://kunishitei.bunka.go.jp/bsys/maindetails/401/73
- 史跡荘内藩ハママシケ陣屋跡 — 北海道石狩市公式ホームページ (Ishikari City)
- https://www.city.ishikari.hokkaido.jp/kanko/miru/1003513.html
- 石狩ファイル0103-01 荘内藩ハママシケ陣屋跡 — いしかり砂丘の風資料館
- https://www.city.ishikari.hokkaido.jp/museum/1001801/1004573/1004676.html
Last verified: 2026.05.17