After completing his time served, he was released from jail.
doing time
Frequency:
50
%
He was caught doing time for a crime he didn't commit.
good time
Frequency:
45
%
Despite being in prison, he managed to have a good time with his fellow inmates.
Idiomatic Expressions for do time
Phrase: do time
Meaning: to endure a difficult or unpleasant situation
Usage: She knew she had to do time in a boring job before she could move up in her career.