Journey through the events, people, wars and ideas that shaped San Marino, the republic on Monte Titano that has kept its freedom since the Middle Ages, from the first farmers of the Marecchia valley to a member of the Council of Europe and the United Nations.
Follow the legend of the stonemason Saint Marinus (301), the Placito Feretrano of 885, the free commune and its Arengo, the first Captains Regent of 1243, the grant of 1463 that fixed the borders, Cesare Borgia's occupation and Cardinal Alberoni's of 1739, Napoleon's offer of land, Garibaldi's refuge of 1849, the Arengo of 1906, fascism, the refugees of 1944 and the crisis of Rovereta.
Meet the Captains Regent who have shared the state in half-yearly pairs, the dukes and popes who protected it, and the foreign secretaries who led its governments.
From the Roman emperors and early overlords to the Captains Regent, elected in pairs every six months since 1243, with the dukes and popes who protected the republic, the occupiers, and the foreign secretaries who lead its governments.
A Journey Through the Ages
San Marino, a landlocked republic of 61 square kilometres on the slopes of Monte Titano, an enclave in Italy between Emilia-Romagna and the Marche and about 13 kilometres from the Adriatic, is made of nine castelli, and people have lived around its limestone ridge since Neolithic farmers lost a polished stone axe-hammer at San Giovanni sotto le Penne about 5000–4000 BCE. Bronze Age and Villanovan communities left traces at Casole, Castellaro and nearby Verucchio, Umbri, Etruscans and Gallic Senones held the hills, and from 268 BCE Rome ruled them from the colony of Ariminum, today Rimini. Tradition says that on 3 September 301 the Dalmatian stonemason Marinus, who had come from the island of Rab to work on the walls of Rimini, founded a Christian community on the mountain; the first historical trace is a monk on the Titano recorded about 511, and the oldest document of the republic is the Placito Feretrano of 20 February 885. Ostrogoths, Byzantines of the Exarchate of Ravenna and Lombards ruled the region, and after the Donation of Pepin in 756 the surrounding lands passed to the popes.
The community of Monte Titano was governed by the Arengo, the assembly of the heads of families, and defended by the Guaita tower; in 1243 the consuls Filippo da Sterpeto and Oddone Scarito are the first known predecessors of the Captains Regent. The first statutes are mentioned in 1253, the earliest surviving ones date from 1295–1302 and replaced the consuls with a Captain and a Defender, and in 1351 the bishop of Montefeltro released the commune from its feudal ties. The Great and General Council took over most powers of the Arengo, and the republic survived between the Malatesta of Rimini and the Montefeltro of Urbino. In the war of 1460–1462 San Marino joined Pope Pius II and Federico da Montefeltro against Sigismondo Malatesta, and the Patti di Fossombrone of 27 June 1463 gave it Fiorentino, Montegiardino, Serravalle and Domagnano, while Faetano joined of its own accord; its nine castelli have not changed since. Cesare Borgia occupied the republic for some months in 1503, the Statutes of 1600 and the protection treaty of 1602, in force from 1631, secured its independence under the Holy See, and Cardinal Alberoni’s occupation of 17 October 1739 ended on Saint Agatha’s Day, 5 February 1740.
Napoleon offered to enlarge the republic in 1797, and Captain Regent Antonio Onofri politely declined; the Congress of Vienna confirmed its independence in 1815. The republic sheltered Giuseppe Garibaldi and his legion on 31 July 1849, made Abraham Lincoln an honorary citizen in 1861, signed a treaty of friendship with the new Kingdom of Italy in 1862, issued its first coins in 1864 and stamps in 1877, and inaugurated the Palazzo Pubblico in 1894. After the Arengo of 25 March 1906 an elected Grand and General Council replaced the self-perpetuating oligarchy; San Marino stayed neutral in the First World War, the Sammarinese Fascist Party of Giuliano Gozi ruled from 1923 to 1943, and the railway from Rimini opened in 1932. In 1944 the neutral republic sheltered more than 100,000 refugees, was bombed on 26 June, was entered by German forces on 13 September and was freed in the Battle of San Marino of 17–20 September. A Communist–Socialist coalition governed from 1945 until the Fatti di Rovereta of 1957.
Christian Democrat and left-wing coalitions have alternated since 1957. Women won the vote in 1959 and the right to stand in 1973, the Declaration of Citizens’ Rights was approved in 1974, Maria Lea Pedini-Angelini became the first woman Captain Regent in 1981, and San Marino joined the Council of Europe on 16 November 1988 and the United Nations on 2 March 1992. The euro replaced the lira in 2002, UNESCO inscribed the Historic Centre of San Marino and Mount Titano in 2008, and the banking scandals of 2009 and 2014–2017 led to tax and banking reforms. The population, 12,800 in 1950, was 34,045 in 2025. Association talks with the European Union opened in 2015 and concluded on 12 December 2023, and the EU Council authorised the signature of the agreement on 16 July 2026. San Marino is still headed by two Captains Regent, elected every six months and invested on 1 April and 1 October, at present Gerardo Giovagnoli and William Casali, with no prime minister: Luca Beccari has been Secretary of State for Foreign and Political Affairs since 8 January 2020. Explore the eight ages below through selected events from the timeline.
5,000 BCE – 884
Monte Titano, Roman Ariminum and the legend of Saint Marinus.
Prehistoric finds around Monte Titano, the Umbri, Etruscans and Senones, Roman Ariminum, and the legend of the stonemason Saint Marinus, who by tradition founded the community on 3 September 301.

A polished stone axe-hammer found at San Giovanni sotto le Penne, dated about 5000–4000 BCE, is the oldest known artefact from the territory of San Marino.

In 268 BCE Rome founded the Latin colony of Ariminum at the mouth of the Marecchia, the city with which the history of Monte Titano is bound up.

A noble Ostrogothic woman was buried at Domagnano in the 5th or 6th century with gold jewellery later known as the Domagnano Treasure.

About 511 writings associated with the monk Eugippius record a monk living in a monastery on Monte Titano, the first historical trace of the community.
885 – 1462
From the oldest document to the free commune of the Captains.
From the Placito Feretrano (885) to the free commune with its Arengo, consuls and Captains Regent (from 1243), statutes, the Three Towers, and survival between the bishops of Montefeltro, the papacy, the Montefeltro and the Malatesta of Rimini.

On 12 December 1243 Filippo da Sterpeto and Oddone Scarito are named as consuls of San Marino, the first known predecessors of the Captains Regent.

In the 11th century the Guaita, or Rocca, the first of the Three Towers, was built on Monte Titano.

In 1351 the bishop of San Leo and Montefeltro released San Marino from its feudal obligations, and it became a fully free commune.

In 1460–1462, allied with the pope and Urbino, the Sammarinese attacked and occupied the Malatesta castles around Monte Titano.
1463 – 1738
Nine castelli, the dukes of Urbino and the shelter of the popes.
The expansion of 1463 to Fiorentino, Montegiardino, Serravalle and Faetano, the Duchy of Urbino, Cesare Borgia's occupation (1503), the Statutes of 1600 and papal protection from 1631 under an oligarchic Council.

In 1503 the forces of Cesare Borgia took control of San Marino, the first of only three foreign occupations in the republic's history.

On 4 June 1543 a surprise attack by Fabiano di Monte San Savino failed when his troops lost their way in dense fog, a rescue credited to Saint Quirinus.

In 1600 San Marino promulgated the Leges Statutae Republicae Sancti Marini, the statutes that became the core of its constitution.

In 1631 the Holy See under Urban VIII confirmed the independence of San Marino as the protection treaty of 1602 came into force.
1739 – 1814
A cardinal's occupation, Saint Agatha's Day and Napoleon's offer.
Cardinal Alberoni's occupation (1739–40) and the restoration on Saint Agatha's Day, the Enlightenment, Antonio Onofri and Napoleon's offer of land and friendship (1797).

From October 1739 to February 1740 the Sammarinese resisted the papal occupation with refusals, civil disobedience and secret appeals to the pope.

On 5 February 1740 Pope Clement XII recognised San Marino's rights, ending the Alberoni occupation on the feast of Saint Agatha.

In 1797 Bonaparte exempted San Marino from French requisitions, gave it wheat and promised four cannon, which were never delivered.

In February 1797 Captain Regent Antonio Onofri politely declined Bonaparte's offer to enlarge the republic, saying San Marino was content with its smallness.
1815 – 1905
A refuge for revolutionaries and a small republic inside the new Italy.
Recognition at Vienna (1815), the Carbonari, Garibaldi's refuge (1849), Lincoln's honorary citizenship, the treaties with the Kingdom of Italy, the first coins and stamps and the new Palazzo Pubblico (1894).

On 9 June 1815 the Congress of Vienna restored the old order in Italy and left San Marino's independence intact.

On 7 May 1861 Abraham Lincoln replied to the Captains Regent, accepting citizenship and calling San Marino one of the most honored states in all history.

On 22 March 1862 San Marino and the Kingdom of Italy signed a convention of friendship and good neighbourliness, by which Italy recognised the republic's independence.

On 30 September 1894 the new Palazzo Pubblico was inaugurated with an oration on the perpetual liberty of San Marino by the poet Giosuè Carducci.
1906 – 1942
The Arengo of 1906, a wartime neutral and two decades of fascism.
The Arengo of 1906 and an elected Grand and General Council, the First World War, the Sammarinese Fascist Party (1923–43) and the Rimini–San Marino railway.

On 6 May 1909 the Council widened the franchise and created a separate Borgo Maggiore constituency.

On 23 May 1915, as Italy declared war on Austria-Hungary, San Marino remained neutral, though volunteers served and a field hospital was sent.

On 10 August 1922 Giuliano Gozi founded the Sammarinese Fascist Party on the model of Mussolini's movement.

On 12 June 1932 the electric railway linking the republic to the Italian network was inaugurated by the Italian minister Costanzo Ciano.
1943 – 1957
A neutral refuge under bombs, a battle on the mountain and twelve years of the left.
The fall of fascism, 100,000 refugees and the bombing of 1944, the Battle of San Marino, the Communist–Socialist governments of 1945–57 and the Fatti di Rovereta.

In the summer of 1944, as the front reached the Gothic Line, San Marino sheltered more than 100,000 refugees, many of them in the railway tunnels.

On 26 June 1944 RAF bombers attacked the neutral republic, killing 63 people and wrecking the railway.

On 11 March 1945 the Communist–Socialist Committee of Freedom won 40 of 60 seats in the first post-war election.

On 30 September 1957 opposition councillors occupied a factory at Rovereta and proclaimed a provisional government, which the Regency recognised two weeks later.
Population: Linear interpolation between 1950 (Average population 1950: 12,800 (Wikipedia, Demographics of San Marino)) and 1960 (Average population 1960: 15,400 (Wikipedia, Demographics of San Marino)).
1958 – present
Women at the polls, a seat at the United Nations, the euro and a road to the European Union.
Christian Democrat and left-wing coalitions, women's suffrage, the 1974 Declaration of Rights, Council of Europe (1988) and UN (1992) membership, the euro, banking reforms, Olympic medals and the EU Association Agreement.

In 1959 a law granted Sammarinese women the right to vote, although not yet the right to stand for office, which came in 1973.

On 1 April 1981 Maria Lea Pedini-Angelini became the first woman to serve as one of San Marino's two Captains Regent.

On 1 January 2002 euro notes and coins, including the first Sammarinese euro coins, came into circulation in San Marino.

On 16 July 2026 the Council of the EU authorised the signature of the association agreement with San Marino and Andorra.
Population: Linear interpolation between 2020 (Average population 2020: 33,574 (Wikipedia, Demographics of San Marino)) and 2025 (Average population 2025: 34,045 (Wikipedia, Demographics of San Marino)).
Monte Titano, Captains Regent and Neighbours – Prehistory to Today
From the first farmers of Monte Titano and Roman Ariminum to the legend of Saint Marinus, the commune and its Captains Regent, the grant of 1463, Cesare Borgia and Alberoni, Napoleon, Garibaldi, the Arengo of 1906, the battle of 1944 and the modern republic.
If the page stays blank, the site doesn't allow embedding — use “Open in new tab”.
From the limestone ridge of Monte Titano and the Three Towers, the history of San Marino has left the world a republic that tradition dates to 3 September 301 and whose Captains Regent, two heads of state elected every six months, have governed it since at least 1243; a small land of nine castelli that has kept its borders since 1463; a refuge for Garibaldi in 1849 and for more than 100,000 people in 1944; a state of statutes and councils under the motto Libertas; and a member of the Council of Europe and the United Nations that now negotiates its association with the European Union from within Italy.
Monte Titano, a limestone ridge rising from the clay hills between the Marecchia and Ausa valleys, carries the oldest layers of the landscape: the axe-hammer of San Giovanni sotto le Penne, the bronze axe of Casole and the Villanovan urns of Castellaro. The Three Towers on its peaks recall the commune: the Guaita, or Rocca, built in the 11th century, the Cesta, or Fratta, of the 13th century, which since 1956 has housed a museum of ancient arms, and the Montale, the smallest, of the late 13th or 14th century. The Palazzo Pubblico, designed by Francesco Azzurri, was begun in 1884, inaugurated on 30 September 1894 with an oration by Giosuè Carducci and restored under Gae Aulenti in 1996; the marble Statue of Liberty by Stefano Galletti was unveiled in 1876, and the funivia between Borgo Maggiore and the City opened in 1959. On 7 July 2008 UNESCO inscribed San Marino Historic Centre and Mount Titano on the World Heritage List.
Italian is the language of the republic, spoken beside the Romagnol dialect of the surrounding hills, and its history was first written by its own secretaries and by visitors. Matteo Valli, secretary of the republic, published an account of its origin and government at Padua in 1633, Joseph Addison introduced San Marino to English readers in 1705 in his Remarks on Several Parts of Italy, and the exiled philosopher Melchiorre Delfico published the first systematic history, the Memorie storiche, in 1804. The numismatist Bartolomeo Borghesi settled in San Marino in 1821, the statutes were printed at Forlì in 1834, and the poet Giosuè Carducci spoke on the perpetual liberty of San Marino in 1894. The national anthem, a melody arranged by Federico Consolo from a tenth-century chorale, was adopted on 11 September 1894, after Luigi Para’s patriotic hymn of 1856. Eurovision entries since 2008 and the public broadcaster San Marino RTV, founded in 1991 with Italy’s RAI, carry the republic’s voice today.
Saint Marinus, the stonemason of Rab ordained a deacon by Bishop Gaudentius of Rimini, is the patron of the republic, and his feast on 3 September is its founding day. A pieve and a small monastic community grew up on the summit in the 4th and 5th centuries, the pieve is documented in 1113, and the neoclassical church of Saint Marinus, designed by Antonio Serra, was begun in 1826 and inaugurated on 5 February 1838, the feast of Saint Agatha, the day on which independence had been restored in 1740. The relics of Saint Marinus were found in 1586, part of them were sent to Arbe in 1595 and the skull was enshrined in a reliquary bust in 1602. A chapel for the Capuchins was built outside the walls in 1549, and in the churchyard of the Capuchin church Garibaldi disbanded his legion; the Poor Clares of Santa Chiara opened their convent in 1609. The bishop of Montefeltro, who released the commune from its feudal ties in 1351, moved his see from San Leo to Pennabilli in 1572; Pope John Paul II visited the republic on 29 August 1982 and Pope Benedict XVI on 19 June 2011.
The Arengo of the heads of families governed the community in the Middle Ages, consuls are recorded in 1243, and the Captains and the Great and General Council grew out of that tradition; the Captains were paid from 1352, and the statutes of 1295–1302 and 1600 are the roots of the constitution. The Captains Regent are elected for six months by the Grand and General Council and invested on 1 April and 1 October, and a regent cannot be re-elected within three years. About 1650 the Council began to renew itself by co-optation, until the Arengo of 25 March 1906 led to the first election of sixty councillors on 10 June, a franchise law of 1909 widened the vote, and proportional representation followed in 1920. The Guard of the Council was founded in 1740 to protect the Regents and the Council. The Congress of State, the government, was established by law on 15 May 1945 and its most senior member is the Secretary of State for Foreign and Political Affairs; women voted from 1959 and stood from 1973, and the Declaration of Citizens’ Rights of 1974 and the Guarantors’ Panel on the Constitutionality of Rules, created in 2002, complete the legal order.
For centuries the republic lived from farming, pasture and stone: the quarries of Monte Titano supported its most important craft, and Sammarinese stonecutters built the Palazzo Pubblico and worked abroad. Poverty and population growth drove mass emigration from about 1880, first within Italy and Europe and then to the Americas. The republic issued its first coins in 1864, its first stamps in 1877 and new silver coins in 1931, and the Cassa di Risparmio, founded in 1882 by the Mutual Aid Society, became its principal bank. The railway of 1932, new roads and hotels made San Marino a tourist destination in the 1930s, a casino opened about 1950 and was given up in 1953 after the Italian blockade, and tourism, stamps and banking sustained the economy. The average population rose from 12,100 in 1947 to 34,045 in 2025. After the Delta affair of 2009 and the Conto Mazzini inquiry of 2014–2017 the state rescued the Cassa di Risparmio, it issued its first international bond in 2021, and an income tax reform followed general strikes in 2025.
San Marino has endured three foreign occupations, those of Cesare Borgia in 1503, Cardinal Alberoni in 1739–1740 and the Germans and the Allies in 1944, and each ended with the occupier’s defeat or death or the pope’s favour. It was a refuge for Garibaldi on 31 July 1849, days before Anita Garibaldi died in the marshes near Ravenna, and for the liberals who fled the papal police. It stayed neutral in the Great War, though Sammarinese volunteers fought in the Italian army and a field hospital treated more than 3,000 people on the Italian front; the story that it declared war on Austria-Hungary in 1915 is a myth. Fascist rule from 1923 to 1943 brought Racial Law No. 33 of 1942 and the anti-fascist underground that overthrew it. In 1944 the republic sheltered more than 100,000 refugees, was bombed on 26 June with 63 dead and was occupied by German troops on 13 September; Indian and British troops drove them out in the Battle of San Marino, in which the Gurkha rifleman Sher Bahadur Thapa won a posthumous Victoria Cross, and a typhoid epidemic infected over 800 people.
The coat of arms fixed in 1862 shows three towers on three peaks with the motto Libertas, and a white and blue flag is recorded over the Guaita in 1829. The Equestrian Order of San Marino of 1859 and the Order of Saint Agatha of 1923 honour benefactors of the republic. Italy recognised the independence of San Marino in the convention of 1862, and the Convention of Friendship of 1939 is still the basis of their relations. Abraham Lincoln accepted the republic’s honorary citizenship in 1861, and Napoleon, who offered more land, was told that San Marino was content with its smallness. The Captains Regent are invested every 1 April and 1 October, at present Gerardo Giovagnoli and William Casali since 1 October 2026; Maria Lea Pedini-Angelini was the first woman regent in 1981, and Paolo Rondelli in 2022 was reported to be the world’s first openly gay head of state. The republic joined the Council of Europe on 16 November 1988 and the United Nations on 2 March 1992, and Luca Beccari has been Secretary of State for Foreign and Political Affairs since 8 January 2020.
San Marino lies wholly within Italy, and its relations with its neighbour are set by conventions: the treaty of friendship of 1862, the conventions of 1872 and 1897, the agreements of 1953, the Convention of Friendship of 1939 and its revision in 1971. The Rimini–San Marino railway of 1932 tied the republic to the Italian network until the bombing of 1944. The Agreement on Cooperation and Customs Union with the EEC was signed on 16 December 1991, the monetary agreement on the euro of 29 November 2000 led to the first Sammarinese euro coins in 2002, and a new monetary agreement followed in 2012. A referendum on applying for EU membership failed on turnout in 2013; negotiations on an association agreement opened in Brussels on 18 March 2015, were concluded on 12 December 2023, and on 16 July 2026 the Council of the EU authorised the signature of the agreement with San Marino and Andorra. The Formula One San Marino Grand Prix was held at Imola from 1981 to 2006, MotoGP came to Misano in 2007, San Marino hosted the first Games of the Small States in 1985, and the Tokyo Olympics of 2021 brought it three medals.
The timeline is built from the project’s own research dossier and its event, ruler, head-of-government and map datasets, checked against English and Italian Wikipedia, Encyclopaedia Britannica, UNESCO, the Segreteria di Stato per gli Affari Esteri, the Consiglio Grande e Generale, the Reggenza, Rulers.org and other references. Linked articles are starting points for verification, not proof that every claim has been independently checked. Prehistoric and ancient dates are archaeological estimates. The founding by Saint Marinus on 3 September 301 is a tradition; the first document that mentions the community is the Placito Feretrano of 885. The first Captains Regent are usually dated to 1243, and some sources give 1244; the Statutes of 1600 are dated 1 September in English sources and 8 October in Italian ones; the bombing of 26 June 1944 is dated 27 June in some sources; the length of Cesare Borgia’s occupation of 1503 is uncertain; and the story that San Marino declared war on Austria-Hungary in 1915 is a myth. San Marino is a republic that has never had a president or a prime minister: its heads of state are the two Captains Regent, elected every six months, and the Secretary of State for Foreign and Political Affairs is treated here as the de facto head of government. Captains Regent are listed in full only from April 1945, and the selected pairs before then are only a sample. Population figures are annual averages from 1947 to 2025; the most recent events, from 2024 to 2026, including the EU Association Agreement, the tax reform of 2025 and the current Captains Regent, were checked in October 2026 and may be revised. The shading of the map is indicative and approximates historical sovereignty at the level of the castelli and neighbouring districts.
Every event and every ruler has its own sources. See Sources & Further Reading in each timeline entry and ruler profile.
History is connected. Explore the bigger picture.
AllHistories is an independent visual history project designed to make the past easier to understand, explore, and connect.
History is more than a collection of dates, rulers, and battles. Events rarely happen in isolation. Borders shift, civilizations influence one another, ideas spread, and decisions made centuries ago continue to shape the world today.
Through interactive timelines, historical maps, and visual storytelling, AllHistories helps uncover these connections and makes complex historical subjects more accessible and engaging.
Travel through centuries, discover turning points, and understand how historical events unfold and connect.
Explore how borders, civilizations, populations, trade routes, beliefs, and spheres of influence have changed over time.
Go beyond dates and discover the individuals, places, decisions, and circumstances behind historical developments.
Explore connections between countries, empires, civilizations, and historical themes to better understand cause and consequence.
Features vary depending on the historical subject.
AllHistories draws on historical research, published references, public archives, and available historical datasets. The information is organized and presented through interactive digital experiences.
History is not always certain or universally agreed upon. Dates, territorial boundaries, population figures, and interpretations may differ between sources. Some information is necessarily simplified or estimated for visual presentation.
The goal is to encourage curiosity and independent exploration, not to replace academic publications or specialist historical research.
When you visit AllHistories, the web server may process technical information such as your IP address, requested pages, browser details and access times to deliver pages and maintain the service.
Some pages load Google Analytics, Google Fonts, externally hosted images, maps or other third-party resources. Requests to these providers can transmit technical information, including your IP address. Contact forms may use Google reCAPTCHA to help prevent abuse. These providers apply their own privacy policies.
The website uses browser storage for preferences such as the selected theme. Country microsites also use a session cookie to support website functionality, including request protection. Analytics or other third-party services may use additional cookies or storage, depending on the page and your browser settings.
When you submit a correction or contact form, the information you provide, such as your name, email address and message, is processed to review and respond to your request. Please avoid including sensitive personal information.
You can manage cookies and site storage in your browser and control third-party requests through browser privacy settings. For privacy questions or requests concerning information you submitted, use the contact option on the microsite where you sent it.
Links to sources and other websites take you to services with their own privacy practices. Review their policies before providing personal information.
AllHistories provides historical information for general education and exploration. Its content is not professional, legal, financial or other specialist advice.
We aim to present useful, well-sourced summaries, but cannot guarantee that every date, statement, translation or interpretation is complete or accurate. Verify important claims against the cited sources and relevant scholarship. Content may be corrected or updated.
Maps are simplified historical illustrations. Borders, place names and territorial labels may vary by period and source. Their appearance does not express a position on sovereignty or present-day territorial disputes.
Images and source material may belong to their respective creators or rights holders. Consult the image credit, source page and license before reusing material. A link or credit does not grant additional reuse rights.
External links are provided for reference. AllHistories does not control the content, availability or policies of third-party websites.
To report an error or a concern about credited material, use the contact option on the relevant country microsite and identify the page, material and supporting details.