Irish Prime Minister Leo Varadkar took his partner, Matthew Barrett, with him on Thursday as he met with Vice President Mike Pence at his residence in Washington, DC.

Pence, a conservative Christian, has opposed same-sex marriage and the repeal of the "don't ask, don't tell" policy in the past.

In his remarks at the vice president's residence on Thursday, Varadkar spoke about the change that has happened in his country, from homosexuality being illegal to a gay man being elected prime minister.

Irish Prime Minister Leo Varadkar brought his partner, Matthew Barrett, with him to breakfast with Vice President Mike Pence on Thursday.

Some people online were quick to point out the juxtaposition because Pence has consistently received harsh criticism from LGBTQ activists. Pence, a conservative Christian, has not been quiet about his opposition to same-sex marriage in the past, once saying on the House floor: "Societal collapse was always brought about following an advent of the deterioration of marriage and family."

On his last trip to the US last year, Varadkar had a closed-door meeting with Pence. After, the Taoiseach — the prime minister of Ireland — told reporters that he had brought up the issue of LGBTQ rights with him. He also said Pence and his wife told him that he and his partner were "very welcome to visit their home in the future."

Varadkar took Pence up on his offer Thursday, bringing Barrett along for a morning reception at the vice president's residence on the grounds of the US Naval Observatory.

Read more: Inside Number One Observatory Circle, the overlooked but stunning vice president's residence where the Pences live

This time, the reception was open to reporters, so cameras were rolling when Varadkar talked about the change he's seen in his traditionally Catholic country when it comes to acceptance of gay people.

Varadkar said that while growing up in Ireland he was always "fascinated by American politics," which inspired him "to believe in the power of politics to do good."

"I also knew at the time that I lived in a country where, if I tried to be myself at the time, I would have ended up breaking laws," he said. "But today that has all changed. I stand here leader of my country, flawed and human, but judged by my political actions and not my sexual orientation, my skin tone, gender, or religious beliefs."

Varadkar said Ireland isn't the only place where this is possible, but "every country where freedom and liberty are cherished."

"We are, after all, all God's children," he said.

Pence avoided mentioning LGBTQ rights in his speech, instead focusing on his family's ties to Ireland. He said he is planning a trip to Ireland with his mother, who is first-generation Irish-American (two of Pence's grandparents were born in Ireland).

"People often ask me what I felt on Inauguration Day when I raised my right hand," Pence said. "As I looked out at that vast throng of Americans and took that oath, I thought about my grandpa ... He was proud to be an American, but I can still hear that Irish brogue in my heart when my grandfather used to talk about the old country and his home across the pond. His love for the Irish people, his love for the Irish heritage is bone-marrow deep."