San Marino, officially the Republic of San Marino, is the oldest existing representative republic and the European state with the smallest population, excluding the Vatican City. It is the larger of the two microstates surrounded by Italy.