It's also a question of how far back we're willing to go.
A number of Roman rulers had homosexual relationships, including the Emperor Trajan, the Emperor Hadrian and his lover Antinous, and the Emperor Elagabalus.
Have you heard of bisexuality? Or situational bisexuality, such as the relationships that can happen in prisons? (And I'm not talking about sexual assault in the second case.)