The police officers of a city of the second class shall have the power to arrest all offenders against the laws of the state or of the city, by day or by night, in the same manner as the county sheriff and to keep such offenders in the city prison, county jail, or other place of confinement to prevent their escape until trial can be had before the proper officer.
Neb. Rev. Stat. §§ 17-118