Hours before President Biden was scheduled to speak in Salt Lake City on Wednesday, a man was killed in a shooting involving F.B.I. agents in Provo, Utah.
The F.B.I. did not name the man, but court documents indicate that a Provo man was facing charges for death threats he had made against President Biden and Alvin L. Bragg, the Manhattan district attorney.
The F.B.I. said in a statement on Wednesday afternoon that it was investigating an “agent-involved shooting” that had happened around 6:15 a.m. in Provo while special agents were trying to serve arrest and search warrants at a home.
A White House official said that Mr. Biden had been briefed on the matter on Wednesday.
Court documents show that the Provo man was facing one count of interstate threats, one count of threats against the president and another count of influencing, impeding and retaliating against federal law enforcement officers by threat, according to a felony complaint filed on Tuesday in U.S. District Court in Salt Lake City.
Online posts made by the man said that he intended to kill President Biden and Mr. Bragg, who is leading the prosecution of former President Donald J. Trump in New York, according to the complaint, which included several screenshots of the man’s online posts.
In a Facebook post on Sept. 19, 2022, the man wrote that “the time is right for a presidential assassination or two.”
“First Joe then Kamala,” he wrote, referring to Mr. Biden and Vice President Kamala Harris.
In another online post, referring to Mr. Bragg, the man wrote that he wanted “to stand over Bragg and put a nice hole in his forehead with my 9mm and watch him twitch as a drop of blood oozes from the hole as his life ebbs away to hell!”
Zolan Kanno-Youngs contributed reporting.