LONDON (AP) — A former U.K. border official and a retired Hong Kong police officer were given prison sentences on Thursday for spying on dissidents and critics of Beijing in Britain.

Border Force officer Peter Wai and Bill Yuen, a former superintendent in the Hong Kong Police, posed as police or intelligence officers to conduct surveillance and gather information about Hong Kong dissidents and pro-democracy supporters, prosecutors said.