Gangsters surrounded police inspector and assaulted with swords