The question of fact shall be tried as in other actions, and if the accused is found guilty, judgment shall be entered removing the officer from his office, and declaring the latter vacant, and the clerk shall enter a copy of the judgment in the election book.