That after they have been duly sworn, by the mayor or a justice of the peace, to conduct the election fairly, impartially and according to law, it shall be the duty of the said registrar and the four inspectors of election to open the polls, to receive and deposit the ballots in boxes provided for…