underdog
An underdog is a team or person that is expected to lose, but in fact ends up winning. This is usually because the underdog is very talented, or because the other team is not playing their best.
The underdog team was able to win because they were very talented.
The underdog candidate was able to win the election because he was able to connect with the people.