Calling himself a man of faith, “Empire” actor Jussie Smollett said Tuesday that he felt vindicated after a stunning reversal by the Cook County State Attorney’s Office to drop all charges against him in an alleged hate crime hoax.

Smollett was accused of faking an anti-black, anti-gay hate crime in Chicago in order to drum up publicity for his role on the Fox drama.

News of the dropped charges came as a surprise to Chicago Mayor Rahm Emanuel and Police Superintendant Eddie Johnson. Both men angrily pushed back at the decision.

“From top to bottom, this is not on the level,” Emanuel told reporters at an afternoon news conference.

CHICAGO PD SUPERINTENDENT EDDIE JOHNSON, RAHM EMANUEL CALL JUSSIE SMOLLETT CHARGES BEING DROPPED 'WHITEWASH OF JUSTICE'

"Our officers did hard work day in and day out, countless hours workign to unwind what actually happened that night. The city saw its reputation dragged through the mud ... It's not just the officers' work, but the work of the grand jury that made a decision based on only a sliver of the evidence [presented]," he continued. "Because of the judge's decision, none of that evidence will ever be made public."

Johnson added, "If someone ever falsely accused me [of a crime], I would never hide behind a brokered deal and secrecy."

JUSSIE SMOLLETT'S ALLEGED CHICAGO ATTACK DETAILS UNFOLD: A TIMELINE OF EVENTS

Smollett, who posed with fans outside the courthouse soon after the news was announced, thanked his friends and family for standing by him. He also thanked the state of Illinois for "attempting to do what's right."

“Not for a moment was it in vain. I’ve been truthful and consistent on every level since day one,” he said. “I would not be my mother’s son if I was capable of one drop of what I was accused of."

Smollett called the attack and the months that followed "an incredibly difficult time."

EMPIRE STAFF JUSSIE SMOLLETT'S DROPPED CASE DRAWS REACTIONS FROM CELEBRITIES

"Honestly, one of the worst of my entire life," he said. "But I am a man of faith and I'm a man that has knowledge of my history and I would not bring my family, our lives, or the movement into a fire like this. I just wouldn't. Now I'd like nothing more than to just get back to work and move on with my life. But make no mistake, I will always continue to fight for justice, equality and betterment of marginalized people everywhere."

A rep for 20th Century Fox Television and Fox Entertainment, which produces and distributes "Empire," responded with a statement shortly after hearing the stunning news: "Jussie Smollett has always maintained his innocence and we are gratified on his behalf that all charges against him have been dismissed.”

Smollett was initially charged with one count of lying to the authorities on Feb. 20. A few days later, a grand jury indicted him on 16 felony counts of lying to authorities — eight counts for what he told the officer who responded to the report of the Jan. 29 attack in downtown Chicago, and eight counts for what he later told a detective about being the victim of a brutal racist and homophobic beating by two masked men.

Smollett claimed two men beat him, poured bleach on him and placed a rope around his neck before yelling, "This is MAGA country."

A week before the alleged attack, Smollett told authorities he received a threatening letter at work. Chicago police pushed back and accused Smollett of faking the letter as well.

The United States Postal Inspection Service told Fox News in a statement on Tuesday that it "is working closely with our law enforcement partners on this investigation."

"We are unable to provide any additional comment at this time," the statement added.

Fox News learned the judge on Tuesday granted a nolle pros, which essentially means that the case has been dropped and that Smollett will no longer be prosecuted for the alleged crime.

JUSSIE SMOLLETT IS UNDER ARREST, IN CUSTODY OF CHICAGO POLICE

It’s unclear at this time why the court decided not to proceed with prosecution.

Typically, a minimum condition of dropping cases is some acceptance of responsibility. In a statement, the Cook County prosecutors' office offered no detailed explanation.

"After reviewing all of the facts and circumstances of the case, including Mr. Smollett's volunteer service in the community and agreement to forfeit his bond to the City of Chicago, we believe this outcome is a just disposition and appropriate resolution to this case," the statement from spokeswoman Tandra Simonton said.

Smollett paid $10,000 in bail to get out of jail after his arrest.

Among the unanswered questions was whether prosecutors still believe Smollett concocted the attack and whether new evidence emerged that altered their view of events.

Doubt was cast on the open-and-shut nature of the case when Fraternal Order of Police President Kevin Graham wrote the Justice Department following reports that Cook County State's Attorney Kim Foxx asked Police Superintendent Eddie Johnson to let the FBI investigate Smollett's allegations that he was attacked by two masked men after the former chief of staff to former first lady Michelle Obama allegedly informed Foxx that Smollett's family had concerns about the probe.

JUSSIE SMOLLETT CASE: CHICAGO POLICE UNION ASKS FOR FEDERAL PROBE

According to local reports, Johnson was blindsided by Tuesday’s events and is expected to address the situation later in the day.

Smollett attorneys Tina Glandian and Patricia Brown Holmes said in a statement that Smollett's record "has been wiped clean."

CLICK HERE FOR THE FOX NEWS APP

Anne Kavanaugh, the crisis manager the actor hired, said Smollet is a “victim who was vilified and made to appear as a perpetrator as a result of false and inappropriate remarks made to the public causing an inappropriate rush to judgement.”

The Associated Press contributed to this report.