King Billy wasn't 'openly' gay, and that's how he dodged the hangman…
King Billy was, to borrow the Ulster vernacular, ‘gay as get out’. His fondness for handsome young men — most notably fellow Battle of the Boyne hero and ‘Low Countries’ native Hans Bentinck — was well known in royal circles back in the day.
Source: belfasttelegraph.co.uk