(a)When it appears that any unlawful assembly, or riot or disturbance of the peace has taken place, or may be reasonably apprehended, and that the police-force ordinarily employed for preserving the peace is not sufficient for its preservation and for the protection of the inhabitants and the security of property in the place where such unlawful assembly or riot or disturbance of the peace has occurred, or is apprehended.