An Alameda County Superior Court judge was publicly admonished Tuesday by a state judicial commission in San Francisco for misconduct related to campaign financing.

The Commission on Judicial Performance acted in the case of Tara Flanagan, a former prosecutor and former family law practitioner who won an election for an open seat on the court in 2012.

The commission said Flanagan violated the state Political Reform Act by failing to disclose that her campaign treasurer Carol Pranka was the true source of two loans totaling $25,000.

Instead, Flanagan deposited the checks in her personal bank account and then listed the funds as loans from herself. She also failed to inform her treasurer that the treasurer was required to file campaign reports for contributions of $5,000 or more, the commission said.

The same issue came before the state Fair Political Practices Commission in 2015 and in that case, Flanagan and her treasurer agreed to pay fines of $6,000.