San Marino, officially the Republic of San Marino (Repubblica di San Marino), also known as the Most Serene Republic of San Marino (Serenissima Repubblica di San Marino), is an enclaved microstate surrounded by Italy, situated on the Italian Peninsula on the northeastern side of the Apennine Mountains. Its size is just over 61 sqkm, 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, 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.