H. M. Niles, Chief of Police of Portland