The ruling was unanimous.

The Supreme Courtheard oral argumentsin the case Jan. 10.

Circuit Court of Appeals.

WASHINGTON, DC - JULY 30: The U.S. Supreme Court is pictures on July 30, 2024 in Washington, DC. President Biden is calling for Supreme Court reforms including term limits for the Justices, a binding code of ethics for the court and is calling on lawmakers to pass legislation limiting presidential immunity.  (Photo by Kevin Dietsch/Getty Images)

The Supreme Court on July 30, 2024, in Washington, D.C.Kevin Dietsch/Getty Images