It shall not be lawful, on and after the passage of this act, for the sheriff of any county, coextensive in boundaries with any city of the first class, to appoint any deputies to be present and act as such, for preserving the peace or for any other purpose, at any election polls within said cities of the first class.
25 P.S.§ 1904