Two years later, Leo Varadkar was elected taoiseach, becoming the world’s fourth openly gay head of government. In 2015 Ireland became the first country to legalise same-sex marriage by popular vote. Photograph: Alexander Hafemann/Getty Images The Ha’penny Bridge over the River Liffey dates from 1816.