Sentencing Cooke, Judge Tracey Lloyd-Clarke said he had made "deliberate, conscious and pre-meditated attempts" to commit offences which were of "harm to South Wales Police and police in general".