OAKLAND (CBS SF) — The minister of a Black Muslim temple in Oakland and his mother have pleaded no contest to felony charges for running a fraud ring to win security contracts in Alameda County and Los Angeles, prosecutors said.

According to court documents, Dahood Bey and his mother, Rory Parker, were the principals in BMT International Security Services, an unlicensed security firm that used fraudulent credentials to get more than $200,000 in contracts with Alameda County, the Los Angeles Department of Water and Power and the Housing Authority of the City of Los Angeles.

The firm also tried to get contracts with other government agencies such as the Port of Oakland.

BMT, which was based out of a Black Muslim temple on 29th Street in Oakland, is an offshoot of Your Black Muslim Bakery, which was founded by Yusuf Bey in Santa Barbara in 1968 and moved its headquarters to 5832 San Pablo Ave. in Oakland in 1971.

It shut down in 2007 after its leader, Yusuf Bey IV, one of Yusuf Bey’s many children, was implicated in the murder of journalist Chauncey Bailey.

READ MORE: Your Black Muslim Bakery

Bey IV eventually was convicted of three counts of murder for ordering the deaths of Bailey and two other men and was sentenced to life in prison without parole.

Dahood Bey and Parker entered their pleas on Tuesday in the second week of their trial in Alameda County Superior Court in Hayward, according to prosecutor Tony Douglas.

Bey pleaded no contest to all 21 counts against him, which include conspiracy, filing false documents with government agencies, grand theft and failing to file state income taxes, Douglas said. Parker pleaded to five felony counts.

The plea agreement calls for Bey to receive a five-year state prison term when Judge Michael Gaffey sentences him on Nov. 5 and for Parker to get five years’ probation.

Bey had been in custody since last year but Gaffey released him on his own recognizance on Tuesday after he said he needed time to deal with medical and personal issues.

However, following his release Bey has since been arrested by San Francisco officials on a warrant for a theft case in 2013.

Douglas said if Bey fails to appear at his sentencing, Gaffey can sentence him to the maximum term for his offenses, which would be more than 19 years in state prison.

Bey’s two wives, Qadirah Najeebah Bey and Jameelah Aasma Muhammad Bey, pleaded no contest to 21 counts on Monday, Douglas said.

Previously, three other defendants in the case had entered no contest pleas: Basheer Fard Muhammad, Billie Latrice Poindexter and Ira Dickerson.

All of the defendants except Dahood Bey spent about eight months in jail but were released on bail in June.

Prosecutors said all of the defendants except Dahood Bey are expected to be placed on probation and not serve any more time in custody.

© Copyright 2015 by CBS San Francisco and Bay City News Service. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.