08/20/2017 17:21 EDT | Updated 08/21/2017 15:48 EDT

Trudeau Marches In Montreal Pride With Ireland's 1st Openly Gay Leader

"For all that we celebrate here in Canada, there is a lot of work to do around the world."

MONTREAL — Justin Trudeau marched with his Irish counterpart in Montreal's Pride parade on Sunday, marking the first time a foreign head of government has joined a prime minister in a Canadian Pride celebration.

Trudeau waved a rainbow flag and occasionally danced, while Irish leader Leo Varadkar walked beside him and waved to the crowds that lined the street.

At an earlier news conference, Trudeau highlighted the importance of working with foreign allies to continue the fight towards greater equality.

"For all that we celebrate here in Canada, there is a lot of work to do around the world, and we need to build up our allies and stand together strongly for rights, for opportunities and for the values we know unite our countries."

Christinne Muschi/Reuters
Prime Minister Justin Trudeau walks with his Irish counterpart Taoiseach Leo Varadkar and his partner Dr. Matthew Barrett during the Montreal Pride parade in Montreal on Sunday.
Thousands took to the streets of Montreal on Sunday for the city's Pride parade.

Varadkar, who is Ireland's first openly gay prime minister, said more progress is needed in areas such as sexual health and the prevention of homophobic bullying.

He added Canada and Ireland have a responsibility to work together to advance the cause of equal rights in areas of the world where they are under threat.

More from HuffPost Canada:

"I think Ireland and Canada have a lot in common," he said.

"What we have most in common that we are countries that understand that diversity is our strength and our differences make us better."

I think Ireland and Canada have a lot in common.Leo Varadkar

The two prime ministers were joined in the parade by Quebec Premier Philippe Couillard, NDP Leader Tom Mulcair, Bloc Quebecois leader Martine Ouellet, and a number of federal and provincial politicians.

Trudeau donned white jeans and a light blue shirt and carried a flag as he shouted "Happy Pride!" flanked by Varadkar, Couillard, and Montreal Mayor Denis Coderre.

Prime Minister Justin Trudeau walks in Montreal's 2017 Pride Parade along with Mayor of Montreal Denis Coderre on Sunday.

At an earlier event Sunday, Trudeau said that the celebration is representative of the kind of place Canada is, in contrast with an anti-immigration rally in Quebec City.

He says a small "angry, frustrated group of racists" don't get to define Canada or change its core values.

Also on HuffPost:

Photo gallery The Guide to Pride: Nine LGBT Destinations to Visit This Summer See Gallery