Early voting ends ahead of general election