PORT OF JAPAN
The star-shaped moat of Goryokaku seen from above

Home / Hakodate / Culture

Culture & history · Hakodate 函館

Goryōkaku

A French-style star fort, a five-month republic, and the end of the samurai

Photo: Wikimedia contributor / CC0
In one paragraph

In the winter of 1868 a defeated navy sailed north, occupied a European-style fortress, and held what may have been the first election in Japanese history. Then they lost, and with them went the samurai era.

From the ground, Goryōkaku is a pleasant park with an unusual moat. From the tower beside it, the shape snaps into focus: a five-pointed star, 1.8 kilometres around, its earthworks five to seven metres high. Almost nobody saw it as a star until the first tower went up in 1964 — for a century after it was built, its defining feature was invisible to the people living beside it.

Why a star

It was designed by Takeda Ayasaburō (1827–1880), a scholar of Dutch learning who had studied medicine, navigation and Western military architecture — including the work of the French engineer Vauban. Designed from 1855, begun in 1857, functional by 1864 and finished around 1866, it exists because cannon had made traditional Japanese castles obsolete.

The five projecting bastions do two things: they multiply the wall length available for gun emplacements, and they eliminate blind spots, so every face of the wall can be swept by fire from the bastion beside it. It was built to defend the Tsugaru Strait against modern warships — and to move the magistrate's office out of range of guns in the harbour.

The republic

On 4 October 1868, with the shogunate collapsing, its navy commissioner Enomoto Takeaki refused to surrender the fleet. He sailed north with four warships, four transports, and 180,000 gold ryō retrieved from Osaka Castle. By December his forces held Hakodate and Goryōkaku, and on 15 December 1868 in the old calendar — 27 January 1869 by ours — they proclaimed the Republic of Ezo, structured explicitly on the United States.

Japan's first election, with an asterisk

They then did something without precedent here: they voted. 856 ballots were cast. Enomoto received 156, the highest of anyone. In the separate ballot for president he took 155 votes against 14 for the runner-up. The cabinet — navy minister, army minister, magistrates — was elected the same way. Hijikata Toshizō, formerly vice-commander of the Shinsengumi, became assistant army minister.

The franchise was limited to the samurai class. Commoners could not vote — and the Ainu, whose island was being claimed, were excluded entirely.

That asterisk is not a footnote. Japan's first experiment with the ballot was held on land taken from people who were not permitted to touch it. Any honest telling of this story carries the other one beside it.

Hijikata

He had been the disciplinarian of the Shinsengumi, the shogunate's feared Kyoto police, and he came north to finish the war he had lost everywhere else. On 11 May 1869 (20 June by the Gregorian calendar), aged 34, he was leading troops forward on horseback near a checkpoint called the Ippongi Kanmon when a bullet shattered his lower back. He died at the barrier gate on the road — not inside the fort, as English accounts often have it.

Six days earlier he had summoned his sixteen-year-old page and entrusted him with a death poem, his katana, a letter, a photograph, and a few strands of his hair, to be carried to his family. The boy got them home.

And the end

Roughly seven thousand imperial troops arrived in April 1869. Enomoto surrendered on 18 May by the old calendar — 26–27 June by ours — and Goryōkaku was handed over. That is conventionally the end of the Boshin War and the end of the samurai era in Japan. No foreign power had ever recognised the republic; it lasted about five months.

Enomoto was imprisoned briefly, freed in 1872, and went on to become a Meiji government minister and Japan's ambassador to Russia. The rebel president finished as the establishment's diplomat. Later the same year, 1869, Ezo was renamed Hokkaido.

The park today

It opened to the public in 1914 and became a Special National Historic Site in 1952. Roughly 1,500 cherry trees trace the star — one of Japan's last major blossom sites, typically peaking in late April, with evening illumination. The reconstructed magistrate's office inside was completed in 2010. The present tower opened in 2006 at 107 metres, with observation decks at 86 and 90.

Go up the tower first. The fortress does not make sense from inside it.

The timeline

How it happened

  1. 1855–57
    Designed, then begun

    Takeda Ayasaburō adapts Vauban's star-fort geometry for the Tsugaru Strait

  2. 1864
    The magistrate moves in

    Functional, though outer works continue to about 1866

  3. 4 Oct 1868
    Enomoto sails north

    Four warships, four transports, and 180,000 gold ryō

  4. 15 Dec 1868
    The Republic of Ezo is proclaimed

    (27 Jan 1869 Gregorian) — and 856 ballots are cast

  5. 11 May 1869
    Hijikata Toshizō is killed

    (20 June Gregorian) at the Ippongi checkpoint, aged 34

  6. 18 May 1869
    Goryōkaku surrenders

    (26–27 June Gregorian) — the Boshin War, and the samurai era, end

  7. 1869
    Ezo is renamed Hokkaido

    And Enomoto later becomes ambassador to Russia

  8. 2006
    The 107-metre tower opens

    The star finally visible to everyone, 140 years after it was built

Experience it

Where this becomes real on your port day

The tower is the whole point — the star is invisible from the ground. Guided history tours add the republic, which the site's plaques undersell.

Words you'll see

The vocabulary of Goryōkaku

Goryōkaku
"Five-point fort." Japan's first Western-style star fortress, completed in the 1860s.
Boshin War
The 1868–69 civil war that ended the shogunate. Its last battle was fought here.
Republic of Ezo
The five-month state proclaimed here in December 1868, with an elected president.
Shinsengumi
The shogunate's Kyoto special police. Its vice-commander, Hijikata, died at Hakodate.
Kyūreki
The old lunar calendar, used until 1873 — the reason English dates for these events disagree.
Quick answers

FAQ

Why is Goryokaku star-shaped?

It was designed in the 1850s on European trace italienne principles, following the French engineer Vauban. The projecting bastions multiply the wall available for guns and eliminate blind spots, so every stretch of wall can be covered by fire from the bastion beside it — a response to cannon that traditional Japanese castles could not survive.

What was the Republic of Ezo?

A short-lived state proclaimed at Hakodate on 15 December 1868 (27 January 1869 by the Western calendar) by shogunate loyalists under Enomoto Takeaki, structured on the United States. It elected its president and cabinet by ballot — 856 votes were cast — and fell in June 1869 after five months, unrecognised by any foreign power.

Was the Republic of Ezo election really Japan's first?

It is widely described that way, and 856 ballots were genuinely cast, with Enomoto taking 155 votes to 14 for the runner-up in the presidential ballot. The crucial caveat is that only the samurai class could vote — commoners were excluded, and so were the Ainu, whose island was being claimed.

Why do sources give different dates for Hijikata's death?

Because Japan used a lunar calendar until 1873. Hijikata died on 11 May 1869 in the old calendar, which converts to 20 June 1869 in the Western one. Japanese monuments and museums use the lunar date; English encyclopedias often use the Gregorian, and neither usually explains the difference.

Keep reading

More from Hakodate

Planning the day itself? The Hakodate timed plans put this into a schedule that gets you back aboard with an hour to spare.