Answer
Gohmert's representation ended in 2023. This was after he was defeated in the Republican primary by Jake Ellzey. Ellzey then went on to win the general election against Democrat Jamie Wall. This was Gohmert's first time being defeated in a general election, as he had previously won re-election every two years since he was first elected to Congress in 2004.