Capitol police identified 25-year-old Noah Green as the man who rammed two Capitol officers with his car.
The member of the Nation of Islam recently lost his job, was despondent and sought spiritual help.
Police say Green rammed his car into a barricade, injuring two Capitol police officers.
Police opened fire on Green as he exited his car wielding a knife. He was pronounced dead at the scene.
Green referred to himself as "Brother Noah X" in a lengthy Facebook post. He complained about Covid-19, unemployment, the rising national debt, and political division.
"To be honest these past few years have been tough and these past few months have been tougher," Green wrote on March 16. "I have been tried with some of the biggest, unimaginable tests in my life. I am currently now unemployed after I left my job partly due to afflictions, but ultimately, in search of a spiritual journey.
"There is much confusion in this day and age in my perspective. The ongoing COVID crisis, unemployment, rising National Debt, division within the political sphere, rumors of war and the like. But one thing I'm assured everyone can lean on is faith in the Honorable Minister Louis Farrakhan as the man who can carry us through the dark hour."
He encouraged everyone to study the Book of Revelations and to learn the teachings of the Honorable Elijah Muhammad.
In closing, he wrote, "Please repost and share. Peace and blessings, Brother Noah X."