(a)render all assistance in his power in the management of the jail, the maintenance of order and discipline amongst both officers and prisoners and the guarding and defending of the jail and all persons and property kept therein or belonging thereto against the use of criminal force by any person;