Phillip Anthony Hartley was jailed at York Magistates Court earlier today after the attack on an officer at York railway station in August.
Hartley, 37, of Christ Church Road, was sentenced to three months in jail following the incident on August 3.
Yesterday, a warrant was issued for his arrest after he failed to appear in court to face the charges.
Lakeside Doncaster: Online tributes pour in for man who's body was found in South Yorkshire lake
Lakeside Doncaster: Emergency services launch search after man gets into difficulty in water
Lakeside Doncaster: Tragic end to huge rescue operation as body is found following search of lake
Major Doncaster bridge will be closed for a whole month for essential maintenance
Scawthorpe fire: 'Avoid the area' warning as five crews tackle large wildfire during Doncaster heatwave
Magistrates proved the case in his absence.
Sticker salesman Hartley, who was charged under his real name Phillip L'Estrange, was also banned from all UK trains and railway stations after being charged earlier this year following a breach of bail conditions.
A case of criminal damage after an incident at Doncaster railway station on July 17 when an advertising board worth £80 belonging to LNER was damaged was discontinued by the same court last week.