The judges of the district courts in their respective districts, and the magistrates mentioned in section 29-201 in their respective counties, shall jointly and severally be conservators of the peace within their respective jurisdictions, and shall have full power to enforce or cause to be enforced all laws that now exist or that shall hereafter be made for the prevention and punishment of offenses, or for the preservation and observance of the peace. Judges of the district courts shall have the same powers to require securities for the keeping of the peace and good behavior, and bail for appearance in courts to answer complaints to keep the peace, and for crimes and offenses committed in their respective districts as any of the magistrates aforesaid have in their respective counties.