A public appearance by former President Barack Obama in Toronto has triggered a wave of outrage among Trump-aligned social media influencers. Critics are accusing Obama of violating the Logan Act after he met with Canadian Prime Minister Mark Carney on Friday.

The law in question has never led to a single successful prosecution, according to The Federalist Society, an organization of conservatives and libertarians dedicated to reforming the current legal order. 

The uproar illustrates how a centuries‑old, rarely enforced statute can become a political flashpoint when amplified online. It also reflects the increasingly tense political backdrop between President Donald Trump and Carney as they have criticized each other in the past.

Newsweek reached out to Carney and Obama by email Saturday for comment.

What to Know

Obama traveled to Toronto to deliver a keynote speech at a Canadian think‑tank gala event, the CBC reported. Carney posted a video on X welcoming him—a standard courtesy extended to former world leaders.

“Welcome back to Canada, President @BarackObama,” Carney wrote. “Thank you for joining us in Toronto for important conversations on how we can build a better and more just future—and empower more people to build with us.”

There is no indication Obama engaged in negotiations, policy discussions, or any attempt to influence Canadian government positions.

Former presidents routinely meet foreign leaders during public events, university visits, and nonprofit work. None of this constitutes diplomacy under U.S. law.

However, the meeting quickly became fodder for Trump‑aligned influencers who framed the encounter as illicit diplomacy.

Nick Sortor, a prominent MAGA commentator, posted one of the most widely shared reactions and wrote on X: “Barack Obama is up in CANADA holding private discussions with Prime Minister Mark Carney. Obama needs to sit down and figure out his freaking place before his ass ends up in prison for violating the Logan Act. Trump is our President. You’ve been sidelined, Hussein.” Hussein is Obama’s middle name.

X user MAGA Kitty, who has close to 85,000 followers, shared the video of Obama meeting Carney, and wrote: “Who the hell does Barack Hussein Obama think he is?” and asked if the former president is in Canada “conducting SHADOW DIPLOMACY? Logan Act? Arrest Obama already!”

David J. Freeman, a political commentator who is known as Gunther Eagleman on X and boasts over 1.6 million followers, wrote: “Obama sneaking into Canada for private meetings with globalist Carney? Bro thinks he’s still running the show. Sit down, Barack, Trump’s President. Barack Obama belongs in prison.”

Mike Davis, an attorney and former Chief Counsel for Nominations for the Senate Judiciary Committee, wrote in an X post: “What’s Obama, a subversive Marxist, cooking up in Canada?”

What Is the Logan Act?

The Logan Act, passed in 1799, prohibits private U.S. citizens from engaging in unauthorized negotiations with foreign governments involved in a dispute with the U.S., and only if the individual intends to influence that government’s position in that dispute. George Logan, a Republican state legislator from Pennsylvania, was the inspiration for Congress to pass the law after he travelled to France and met with key government officials in an effort to improve U.S.-French relations.

Only two people have ever been charged under the Logan Act, and neither case went anywhere, according to The Federalist Society.

In 1803, a private citizen, Francis Flournoy, was indicted for writing an article in a Kentucky newspaper advocating that the Western U.S. territories secede and form a separate nation allied with France. In 1852, Jacob Levy, a U.S. citizen living in Mexico, was indicted for writing a letter to the Mexican president urging him not to sign a pending treaty with the U.S.

To violate the law, all three conditions must be met:

The person must be acting without U.S. government authorization.They must be communicating with a foreign government.They must be attempting to influence that government on an active dispute with the United States.

If the Logan Act was ever to be violated, the penalty would be a fine, imprisonment for up to three years, or both.

While Obama’s Toronto appearance meets none of these criteria, MAGA influencers argued the appearance is a violation.

Despite there being tensions between the U.S. and Canada over trade, foreign policy and economic relations, the two countries are not in a dispute, and there’s no evidence Obama attempted to influence Canadian policy. Simply meeting or being photographed with a foreign leader does not constitute diplomacy.