<human>:  When was the country of San Marino founded?
<bot>: San Marino was founded in the early 4th century. The first king of San Marino was Marinus I. The city was originally named after Saint Marinus, who was martyred in the 3rd century. The name San Marino comes from the Latin phrase Sanctus Marinus, which means Saint Marinus.