Former President Barack Obama and former Vice President Joe Biden attended the Invictus Games in Toronto with Prince Harry, spectating a wheelchair basketball together.

"Proud to cheer on Team USA at the Invictus Games today with my friend Joe," Obama tweeted Friday, including some photos. "You represent the best of our country."

Joe Biden's wife, Jill Biden, was also in attendance.

Melania Trump, who was leading the U.S. delegation to the Invictus Games in her first solo trip abroad as the first lady, also met Harry last weekend before the opening ceremony of the event.

Harry started the Invictus Games after he attended the Warrior Games in Colorado in 2013. Afterwards, he wanted to create an international version.

The Invictus Games "is the only international sporting event for wounded, injured and sick Servicemen and women, both serving and veterans," according to the United Kingdom government. The Games use the sports to encourage recovery and rehabilitation and also to pay respect to those who serve their country.

The 2018 Invictus Games will be held in Sydney, Australia.