History · San Marino

San Marino: The Oldest Republic

A mountain-top city-state that has kept its independence since, by tradition, the year 301 — surviving the popes, Napoleon, Italian unification and two world wars by being too small, too steep and too clever to bother conquering

By Worldlore Editorial · 19 September 2026

A steep wooded mountain with fortifications along its crest, rising above a spread of red-roofed houses and green fields
Monte Titano seen from below, with the old town and its fortifications along the crest and newer houses spread across the lower slopes. (Francesco Bini / Wikimedia Commons · CC BY-SA 4.0)

The state that never fell

San Marino is a landlocked microstate of about 61 square kilometres entirely surrounded by Italy, built on and around the limestone ridge of Monte Titano near the Adriatic coast. With around 34,000 citizens, it is the fifth-smallest country in the world — and, by its own reckoning, the oldest continuously sovereign state and the oldest republic still in existence, tracing its constitution to statutes of 1600 and its founding to the year 301. It has survived, essentially, by being not worth the trouble to annex, and by a long habit of accepting protection without surrendering independence.

A short history

  1. 301 (traditional)

    Foundation

    The stonemason Marinus founds a Christian community on Monte Titano.

  2. c. 1000

    The commune

    San Marino appears as a self-governing town with its own statutes.

  3. 1243

    The Captains Regent

    Two heads of state are elected jointly — a system still in use.

  4. 1631

    Papal recognition

    The Papal States formally acknowledge San Marino's independence.

  5. 1797

    Napoleon

    Offers to enlarge the republic; it politely declines.

  6. 1861

    Italian unification

    San Marino refuses to join the new Kingdom of Italy.

  7. 1862

    Treaty with Italy

    A friendship-and-protection treaty, repeatedly renewed since.

  8. 1944

    The Second World War

    Bombed despite neutrality; shelters over 100,000 refugees.

  9. 1992

    United Nations

    San Marino joins as a full member.

Legend and commune

By tradition, a Christian stonemason named Marinus, fleeing persecution, took refuge on Monte Titano in 301 and founded a small monastic community that grew into a town. Whatever the truth of the legend, by the 10th and 11th centuries San Marino existed as a self-governing commune with its own elected council and written statutes, perched on a defensible mountain in a region otherwise carved up between feuding lords, bishops and, later, the Papal States. In 1243 it adopted the office of the Captains Regent — two heads of state, elected together for six-month terms, a check against tyranny that the republic still uses today.

An old engraving of a bearded man seated among cut stone blocks, shaping a column with hammer and chisel beside a chapel under scaffolding, with a walled town and harbour in the distance
Saint Marinus shown as a stonemason, working a column with hammer and chisel beside a church under construction, in an engraving of 1600 by Raphaël Sadeler I. (Raphaël Sadeler I / Wikimedia Commons)
The tall stone keep of the Guaita tower rising from the rock, with battlements and a small turret
The Guaita, the oldest and largest of the three fortresses on Monte Titano, first built in the 11th century. The towers guarded the approaches to a town whose defensibility was its main guarantee of independence. (Mannivu / Wikimedia Commons)

Surviving the neighbours

San Marino's independence was threatened many times and lost only twice, each time briefly: an occupation by a papal cardinal's forces in 1503, and a papal occupation in 1739 that lasted a few months before the pope restored the republic's rights. The Papal States formally recognised its independence in 1631. When Napoleon's army swept through Italy in 1797, he offered to expand San Marino's territory; the republic declined, reportedly to avoid making enemies among its neighbours. In 1861, as the Kingdom of Italy was proclaimed around it, San Marino again chose to stay separate — Giuseppe Garibaldi, who had once sheltered there while fleeing Austrian and papal troops, supported its wish to remain independent. A 1862 treaty of friendship with Italy has been renewed ever since and governs the relationship.

The wars, and after

San Marino declared neutrality in both world wars. In the Second World War it took in an extraordinary number of refugees — more than 100,000 people, over three times its own population — fleeing the fighting in northern Italy. British aircraft bombed it in June 1944 in the mistaken belief that German forces were massing there, killing dozens, and later that year the front line passed directly over Monte Titano in a brief battle between Allied and German troops. San Marino briefly had a communist-led government from 1945 to 1957, a Cold War curiosity, before Christian Democrats took over.

San Marino now

San Marino joined the United Nations in 1992 and the Council of Europe, uses the euro under an arrangement with the EU (though it is not a member), and is negotiating an association agreement with Brussels. Its economy has run on tourism, the sale of collectors' postage stamps and coins, light manufacturing, and — until international pressure forced reform in the late 2000s — bank secrecy, which had made it a target of Italian tax-evasion investigations. It remains a parliamentary republic, with the two Captains Regent still sworn in every 1 April and 1 October in a ceremony largely unchanged for centuries.

What San Marino carries

San Marino's whole history is its own continuity: a small elected republic that outlasted every empire, kingdom and papal claim around it, mostly by being too minor to be worth absorbing and by accepting powerful friends without ever letting one take over. The three towers, the six-month Regents and the 1600 statutes are not museum pieces but a working state that simply never stopped.

Explore the destination