San Marino officially the Republic of San Marino is an enclaved small-sized country, surrounded by Italy, situated on the Italian Peninsula on the northeastern side of the Apennine Mountains.
Its size is just over 61 km2 (24 sq mi), with a population of 33,562. Its capital is the City of San Marino and its largest settlement is Dogana in the municipality of Serravalle. San Marino has the smallest population of all the members of the Council of Europe. With Italian being the official language, along with strong financial and ethno-cultural connections, San Marino maintains close ties to its much larger neighbour; it is located close to the riviera of Rimini, one of Italy's main coastal resort areas.
The country derives its name literally from Saint Marinus, a stonemason originating from the Roman colony on the island of Rab, in modern-day Croatia. In AD 257,[clarification needed] Marinus, according to legend, participated in the reconstruction of Rimini's city walls after their destruction by Liburnian pirates. Marinus then went on to found an independent monastic community on Monte Titano in AD 301; thus, San Marino lays claim to be the oldest extant sovereign state as well as the oldest constitutional republic.
San Marino is governed by the Constitution of San Marino (Leges Statutae Republicae Sancti Marini), a series of six books written in Latin in the late 16th century, that dictate the country's political system, among other matters. The country is considered to have the earliest written governing documents, or constitution, still in effect.
The country's economy mainly relies on finance, industry[which?], services and tourism. It is among one of the wealthiest countries in the world in terms of GDP (per capita), with a figure comparable to the most developed European regions. 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, and has the world's highest rate of car ownership, being the only country with more vehicles than people.
San Marino is one of the only three countries in the world to be completely surrounded by a single other country (the others being Vatican City, also surrounded by Italy, and Lesotho). It is the third smallest country in Europe, with only Vatican City and Monaco being smaller. It is also the fifth smallest country in the world.