Has any larger country ever had an openly homosexual head of state?

MAGolding

Ad Honorem
Aug 2015
2,840
Chalfont, Pennsylvania
#17
Varius Avitus Bassianus (204-222) was emperor from 218 to 222 under the throne name of Imperator Caesar Marcus Aurelius Antoninus Augustus, but is generally known by the name of the god he was the high priest of, Elagabalus.

According to the ancient historians, suspected by many modern historians of greatly exaggerating, Elagabalus was not just merely homosexual, but really most sincerely homosexual. It is claimed that he had several wives and at least one husband. It is claimed that Elagabalus dressed like a woman and wanted a sex change operation.

So if you believe enough of the stories about Elagabalus you can believe that he was the most homosexual ruler ever.