The post was captioned, "Tonight in Montreal, @BarackObama and @JustinTrudeau discussed their shared commitment to developing the next generation of leaders."
Trudeau also shared a picture of the occasion on his Twitter account, writing in his caption, "How do we get young leaders to take action in their communities? Thanks @BarackObama for your visit & insights tonight in my hometown."
Related: President Trump and Canadian Prime Minister Trudeau had a slight pause before their handshake, but the internet ran with it
The internet was, unsurprisingly swooning over the photos of the two popular leaders spending time together. Social media quickly lit up with commentary on the meeting:
After dinner, the two leaders posed for photos at the restaurant.
Obama was in Montreal to give a speech on Wednesday, which gave the two a chance to meet and discuss their common goals.