REDWOOD CITY — Daly City Councilwoman Maggie Gomez has pleaded no contest to two felony counts of workers’ compensation fraud and will be forced to step down from her post.

Gomez, 56, entered her plea Friday morning to the charges in San Mateo County Superior Court and faces up to six months in jail as part of a plea bargain, said Chief Deputy District Attorney Karen Guidotti. The councilwoman originally faced 15 felony charges.

Under state law, elected officials are removed from their position when convicted of a felony, Rose Zimmerman, city attorney for Daly City, said Friday morning. But she wasn’t sure if that will take effect immediately or at the time of Gomez’s May 3 sentencing. Gomez was re-elected to a new term in November.

It was not immediately clear Friday morning if Gomez had tendered her resignation, and she and her attorney did not immediately respond to phone messages seeking comment.

While employed by Seton Medical Center in Daly City, Gomez filed a workers’ compensation claim in August 2005 after getting hurt at work. She claimed she could not stand for long periods of time and other limitations.

But investigators, working on a tip, filmed her working out at a gym and walking long distances while shopping — activities she had claimed her injury made it impossible for her to do.

Defense attorney Michael Rains previously said Gomez was the target of a smear campaign by her ex-husband.

Within 30 days of the vacancy becoming official, the City Council will have to set the date for a special election to fill Gomez’s vacant seat, Zimmerman said. In the interim the council can appoint a replacement.

Gomez is out of custody on $100,000 bail.

Contact Joshua Melvin at 650-348-4335.