The establishment of the regency took place during the first half of the thirteenth century, when they had the role of managing justice, a task similar to the competence of
magistrates. During that period they were called consuls, which derived from
ancient Rome. The first two known consuls were elected on 12 December 1243 by the
Grand and General Council with a six-month term which is still used today. At the end of the thirteenth century, the name of the institution started to change, as one took the title of "captain" and the other one of "defender", then in 1317 they became captain and rector. On 1 April 2017, for the first time two women,
Vanessa D'Ambrosio and
Mimma Zavoli, occupied the posts of Captains Regent, until their term ended on 1 October 2017. Since 1 April 1984, after electing its second female Captain Regent, San Marino is the country that has had the most
female heads of state in the world. As of April 2026, there have been 22 female Captains Regent since 1981 which have had a governing time of 13 years in total. == Election ==