San Marino, officially the Republic of San Marino, is a landlocked country in Southern Europe that is completely surrounded by Italy. It lies on the northeastern slopes of the Apennine Mountains and is the larger of two microstates within the Italian Peninsula, the other being Vatican City. It is among the smallest countries in the world, and it claims to be the oldest extant sovereign state and the oldest constitutional republic, with its founding traced to AD 301.
Origins and early history









The country takes its name from Saint Marinus, a legendary stonemason said to have fled persecution under Emperor Diocletian and to have founded a monastic community on Monte Titano, where he built a small chapel. Accounts of his life were recorded centuries after he is thought to have lived, and historians have described them as a mixture of fables and miracles. The earliest historical evidence for a monastic community dates to the 5th or 6th century AD. Over the following centuries San Marino defended its tax exemption and autonomy against neighbouring powers and gradually enlarged its territory.
Independence and modern era








San Marino kept its independence through the Napoleonic period and during Italian unification, when it sheltered political refugees, including Giuseppe Garibaldi. It signed a Convention of Friendship with the Kingdom of Italy in 1862 and was the first currently existing state to abolish the death penalty, in 1865. In the twentieth century, its neutrality during World War I strained relations with Italy. Today the country has a distinctive constitutional structure in which two heads of state, the Captains Regent, are chosen from opposing parties and serve together.
