Conversation so far:
What happened early in the election?
King Kamehameha V, the last of the Kamehameha kings, died without naming a successor. A new king would be elected by the legislature from the eligible Hawaiian royals still alive.
How was Lunalilo selected as king of Hawaii?
The popular vote was held on January 1, 1873 and Lunalilo won by an overwhelming majority.
Was Lunalilo selected by the legislature?
The week after the popular vote, the legislature unanimously voted Lunalilo king.
Who was Lunalilo against in the election for king of Hawaii?
Lunalilo went against the other candidate David Kalākaua.

Question: How did Lunalilo win?
Self-contained rewrite: How did Lunalilo win?