CHICAGO (AP) — Empire actor Jussie Smollett was charged Wednesday with making a false police report when he said he was attacked in downtown Chicago by two men who hurled racist and antigay slurs and looped a rope around his neck, police said.

Police spokesman Anthony Guglielmi said prosecutors charged Smollett with felony disorderly conduct, an offense that could bring one to three years in prison and force the actor to pay for the cost of the investigation into his report of a Jan. 29 beating.

Police were trying to get in touch with Smollett's attorneys to "negotiate a reasonable surrender," Guglielmi said. That could involve Smollett turning himself in to a Chicago police station.

He said he did not have a time frame for how long the actor would be given.

"We are trying to be diplomatic and reasonable, and we're hoping he does the same," Guglielmi said.

The charges emerged on the same day that detectives and two brothers who were earlier deemed suspects testified before a grand jury. Smollett's attorneys met with prosecutors and police, but it was unknown what they discussed or whether Smollett attended the meeting. The attorneys did not reply to requests for comment.

The announcement of the charges came after a flurry of activity in recent days that included lengthy interviews of the brothers by authorities, a search of their home and their release after police cleared them.

Investigators have not said what the brothers told detectives or what evidence detectives collected. But it became increasingly clear that serious questions had arisen about Smollett’s account — something police signaled Friday when they announced a “significant shift in the trajectory” of the probe after the brothers were freed.

Smollett, who is black and gay and plays the Jamal Lyon on the hit Fox TV show, said he was attacked by two masked men around 2 a.m. on Jan. 29 as he was walking home from a Subway sandwich shop in downtown Chicago. He said they beat him, made racist and homophobic comments, and yelled “This is MAGA country” — an apparent reference to President Donald Trump’s campaign slogan, “Make America Great Again” — before looping a rope around his neck and fleeing.

Fox Entertainment and 20th Century Fox Television issued a statement Wednesday saying Smollett "continues to be a consummate professional on set" and that his character isn't being written off the show. The statement follows reports that Smollett's role was being slashed amid the police investigation into the reported attack.

Investigators went through hundreds of hours of private and public surveillance video from the area where Smollett said he was attacked but couldn't find footage of the beating. They did find and release images of two people they said they wanted to question. And last week, police picked up the two brothers at Chicago's O'Hare International Airport as they returned from Nigeria and questioned them about the attack. They also searched the men's apartment.

The men, who were identified to multiple media outlets by their attorney as Abimbola “Abel” and Olabinjo “Ola” Osundairo, were held for nearly 48 hours on suspicion of assaulting Smollett before being released Friday. Guglielmi said last week that media reports about the attack being a hoax were unconfirmed by case detectives, but on Saturday, he said the men provided information that had “shifted the trajectory of the investigation.” He also said detectives had requested another interview with Smollett.

Police said one of the men had appeared on Empire, and Smollett’s attorneys said one of the men is the actor’s personal trainer, whom he hired to help get him physically ready for a music video. The actor released his debut album, Sum of My Music, last year.

Smollett was charged by prosecutors, not the grand jury. The police spokesman said the brothers appeared before the panel to "lock in their testimony."

Speaking outside the courthouse where the grand jury met, the brothers' attorney said the two men testified for about two and a half hours.

"There was a point where this story needed to be told, and they manned up and they said we're going to correct this," Gloria Schmidt said.

She said her clients did not care about a plea deal or immunity. "You don't need immunity when you have the truth," she said.

She also said her clients received money from Smollett, but she did not elaborate.

Smollett has been active in LBGTQ issues, and initial reports of the assault drew outrage and support for him on social media, including from Sen. Kamala Harris of California and TV talk show host Ellen DeGeneres.

Former Cook County prosecutor Andrew Weisberg said judges rarely throw defendants in prison for making false reports, opting instead to place them on probation, particularly if they have no prior criminal record.

Smollett has a record — one that concerns giving false information to police when he was pulled over on suspicion of driving under the influence. According to records, he was also charged with false impersonation and driving without a license. He later pleaded no contest to a reduced charge and took an alcohol education and treatment program.

Another prospective problem is the bill someone might receive after falsely reporting a crime that prompted a nearly monthlong investigation, including the collection and review of hundreds of hours of surveillance video.

The size of the tab is anyone's guess, but given how much time the police have invested, the cost could be huge.

Weisberg recently represented a client who was charged with making a false report after surveillance video discredited her account of being robbed by three men at O'Hare Airport.

For an investigation that took only a single day, his client had to split restitution of $8,400, Weisberg said. In Smollett’s case, “I can imagine that this would be easily into the hundreds of thousands of dollars.”

Chicago’s top prosecutor, Cook County State’s Attorney Kim Foxx, recused herself from the investigation Tuesday, according to a one-sentence statement issued by a spokeswoman.

“Out of an abundance of caution, the decision to recuse herself was made to address potential questions of impartiality based upon familiarity with potential witnesses in the case,” spokeswoman Tandra Simonton said. She didn’t elaborate as to how Foxx was familiar with anyone in the case and she said Foxx would have no further comment. Foxx’s first assistant, Joe Magats, will oversee the case, the office said.