San Marino, officially the Republic of San Marino (/sæn məˈriːnoʊ/ san-mə-REE-noh; Italian: Repubblica di San Marino) and also known as the Most Serene Republic of San Marino (Italian: Serenissima Repubblica di San Marino), is an enclaved microstate surrounded by Italy, situated on the Italian Peninsula on the north-eastern side of the Apennine Mountains. Its size is just over 61 km (24 sq mi) with an estimated population of over 30,000. Its capital is the City of San Marino. San Marino has the smallest population of all the members of the Council of Europe.
San Marino is the oldest surviving sovereign state and constitutional republic in the world, as the continuation of the monastic community founded on 3 September 301, by stonecutter Marinus of Rab. Legend has it that Marinus left Rab, then the Roman colony of Arba, in 257 when the future emperor, Diocletian, issued a decree calling for the reconstruction of the city walls of Rimini, which had been destroyed by Liburnian pirates.
The constitution of San Marino, enacted in 1600, is the world's oldest written constitution still in effect. The country's economy mainly relies on finance, industry, services and tourism. It is one of the wealthiest countries in the world in terms of GDP (per capita), with a figure comparable to some of the more developed Italian regions, such as Lombardy and Trentino-Alto Adige/Südtirol. San Marino is considered to have a highly stable economy, with one of the lowest unemployment rates in Europe, no national debt and a budget surplus