PITTSBURG — The arraignment of a Pittsburg man charged with sex trafficking did not go as planned after the accused disrupted the court hearing, loudly proclaiming: “This is my courtroom.”

Gerald Anthony Ortega Jr., 36, of Pittsburg, was supposed to be arraigned in Pittsburg Superior Court on human trafficking of a minor for a sex act as well as soliciting a minor to use or sell a narcotic.

However, Ortega entered court saying that he “couldn’t wait to get here,” and proceeded to accuse Judge Mary Ann O’Malley of being in a secret society and questioned whether she was a real judge.

Ortega did not have a lawyer and objected to a public defender, which he called a “public pretender,” saying that they were “all corrupt.”

The Alternate Defender Office, which provides legal representation when the public defender’s office cannot, said Ortega did not qualify since he made too much money.

Investigators arrested Ortega and Brandon Edmondson, 30, after receiving a report from a local woman and her daughter that implicated both men in a scheme to provide drugs to young girls and advertise them as sex workers. A third suspect was also arrested but was a juvenile and not identified.

According to the court complaint, Ortega is charged with two counts of human trafficking of a minor for a sex act, solicitation of a minor to use or sell a narcotic, and possession of heroin and methamphetamine for sale.

Due to two serious felonies, all five charges against Ortega have been given special consideration under California’s three-strikes law.

Ortega was sentenced to five years incarceration in 2010 for breaking into his girlfriend’s Concord home, hanging her Jack Russell terrier puppy from a ceiling fan with an electrical cord and physically assaulting her the next day.

Ortega did not enter a plea Tuesday, and the case was moved to Jan. 18, although Ortega made an objection.