declared the winner and returned elected