A security guard shot a man inside the FOX 5 building in Washington, DC, on Monday as he attempted to force his way inside — with the intent of using the news station to make contact with President Trump, a report says.

Sources told WRC-TV that the suspect informed cops about his plan, but police officials were unable to confirm it as a possible motive.

The 38-year-old man was caught on surveillance cameras smashing through two glass security doors as he tried to break in around 3 p.m., according to FOX.

He was confronted by a female security guard, who attempted to stop him using pepper spray — to no avail, cops said.

The man was not armed, but was a known threat to both FOX and police, the station reports.

He was shot once in the torso, and was expected to live. No one else was injured.

“Everyone is okay,” anchor Jim Lokay tweeted afterwards. “Sources tell us suspect tried to get into our secure building. Security guards opened fire.”

Police officials told reporters that they will not be releasing the suspect’s name. He is believed to have mental health issues.

FOX 5 VP and General Manager Patrick Paolini sent out a memo to station employees, calling the incident a “serious security breach.”

“All of us here are working this as an on-going breaking news story, just like we would any other,” he said. “Counselors will be available to all employees tomorrow at the station.”