ByAlison Durkee,

Forbes Staff.

Federal appeals court Judge Emil Bove is coming under scrutiny for attending President Donald Trump’s speech on Tuesday, as a judicial advocacy group filed a complaint alleging the judge—who previously served as Trump’s personal attorney—violated ethics rules meant to ensure judges remain impartial.

Bove attended Trump’s event in Mount Pocono, Pennsylvania, on Tuesday, telling reporters at the event he was “just here as a citizen coming to watch the president speak.”

Advocacy group Fix the Court filed a formal complaint Wednesday arguing Bove’s attendance violated the Code of Conduct for federal judges, which says judges “should avoid impropriety and the appearance of impropriety in all activities” and “should refrain from political activity.”