Question: how does the majority leader get elected?
Answer: The Senate Republican and Democratic floor leaders are elected by the members of their party in the Senate at the beginning of each Congress. Depending on which party is in power, one serves as majority leader and the other as minority leader.