Supporters of President Donald Trump rally at the US Capitol on January 6, 2021, in Washington.
CNN  — 

A Texas man facing charges in connection to the January 6, 2021, insurrection at the US Capitol opened fire on law enforcement officers last week when they arrived at his house in the Dallas area for a welfare check, according to an affidavit.

Nathan Donald Pelham, who is charged with misdemeanors for entering the restricted Capitol building and disorderly conduct, now faces a charge of being a felon in possession of a firearm after opening fire on authorities from Hunt County Sheriff’s Office, according to court documents.

Politico first reported the standoff with Pelham. CNN has reached out to Pelham’s attorney for comment.

Pelham’s father called law enforcement on April 12, warning that his son had a gun and was threatening suicide, the affidavit said. That same day, an FBI agent had called Pelham to notify him of a warrant for his arrest related to charges from the insurrection and Pelham had agreed to turn himself in the following week.

After arriving at Pelham’s home and speaking to a neighbor, officers saw a young girl, Pelham’s daughter, walk out of the house and she was put in a patrol car for safety, according to the affidavit.

Then authorities from the sheriff’s department heard gunshots coming from inside the house, the affidavit said.

“Deputy J.W. reported that the gunshots were spread out in time and that they were not towards the HCSO personnel,” the agent wrote. “At approximately 9:38 p.m., Pelham’s father arrived on scene. Deputy J.W. heard another gunshot and reported that ‘the bullet from this gunshot came in so close proximity to myself that I could hear the distinct whistling sound as the bullet traveled by me and then strike a metal object to my right side.’”

The standoff lasted until shortly after midnight when law enforcement left without arresting Pelham, according to the affidavit. Pelham was arrested on Tuesday, according to online court records.