'It is with great sadness that I make this statement. Throughout four years as a police cadet and 37 years as a police officer I have always tried to do what was right and proper and within the law.
'In my dealings with Thomas Hamilton, whether it was with regard to his complaints against the police or the licensing of his firearms I likewise tried to do what I felt was right and within the law. I firmly believed at the time and still do now that the decisions I took were the only ones open to me.
'Nevertheless, I have to accept the conclusions reached by Lord Cullen. In the circumstances I do not believe I can continue as Assistant Inspector of Constabulary. I have, therefore, immediately offered my resignation to the secretary of state.
Sir William Sutherland, Her Majesty's Chief Inspector of Constabulary for Scotland, said: 'Douglas McMurdo has had a long and dedicated career during which he has shown unswerving commitment to the police service, playing a full part in influencing police officers at local and national level. He is a man of fine character and absolute integrity. His decision to retire reflects the sense of responsibility and honour that he has displayed throughout his career.'