Fetching details from the dictionary...

being elected
winning a prize (in a lottery, raffle, etc.); being selected (for a prize, etc.)
彼が議員に当選した。
He was elected to the legislature.
宝くじに当選して夢のような気分だった。
Winning the lottery felt like a dream.
激戦区で初めて当選を果たした。
He won his first election in a fiercely contested district.