idiom
on the bench
在法庭上担任法官
Meaning
serving as a judge in a court
Example
She spent 20 years **on the bench** before retiring.
她在退休之前作为法官工作了20年。