According to two law enforcement sources who spoke to CNN, the man suspected of killing shooting five people in Philadelphia on Monday night told authorities in part that he carried out the act to improve the neighborhood.

According to a law enforcement source, authorities are also looking into a since-deleted social media account thought to belong to the alleged shooter, 40-year-old Kimbrady Carriker, which had a number of posts regarding firearms, the Second Amendment, and the “loss of freedoms.”

Also Read: ‘Transgender people are not the danger’ Philadelphia DA Larry Krasner slams hate after mass shooting suspect Kimbrady Carriker’s arrest

The page’s most recent public post, which was uploaded on Monday at 10:49 ET, featured a video promoting a business that sells tactical firearms attachments. A man in tactical clothing is seen clutching what looks to be a gun made in the military in the footage.

In May, Carriker shared posts from pro-gun groups supporting former President Donald Trump and the Second Amendment. In June, he shared a mocking video of a speech by President Joe Biden and added his view that Biden was trying to “take our arms.”

The same day, he made the following post: “The only thing more terrifying than blindness is being the only one who can see.”

Additionally, according to other witnesses, Carriker had been displaying “abnormal behavior for quite a while,” Philadelphia Assistant District Attorney Joanne Pescatore stated at a news conference on Wednesday.

Also Read: In Pictures: Kimbrady Carriker, Philadelphia Mass Shooting suspect, transition to transgender

He was “thought to be getting more and more agitated as the days were passing,” according to other residents of the same home, Pescatore added.

According to Assistant District Attorney Bob Wainwright, there were seven additional residents in the same residence as Carriker.

Carriker was arraigned in court on Wednesday and ordered to be kept without bail after being charged with murder, attempted murder, assault, reckless endangerment, and weapons offences. He was exempt from making a plea.

Two days after it seemed that he was firing at random around many blocks in the Kingsessing neighborhood of southwest Philadelphia, more information about the suspect’s past has come to light.

Police stated that when they apprehended Carriker after a foot chase, he was armed with an AR-15-style weapon, a 9 mm handgun, a scanner that monitors emergency response radio communications, a bulletproof vest, and a ski mask.