https://en.wikipedia.org/wiki/List_of_captains_regent_of_San_Marino
The captains regent (Italian: Capitani reggenti, sing. Capitano reggente) are the two heads of state of the Republic of San Marino. They are elected every six months by the Grand and General Council, the country's legislative body. Normally the Regents are chosen from opposing parties and they serve a six-month term.