Judicial misconduct occurs when a judge acts in ways that are considered unethical or otherwise violate the judge's obligations of impartial conduct.