 Barkley won another term in the House by a 2-to-1 margin over his Republican opponent in 1924, but Democratic divisions cost Stanley his Senate seat, and Barkley became even more convinced of the value of party loyalty.Because of Barkley's role in crafting the Railway Labor Act, the Associated Railway Labor Organizations endorsed him to unseat Ernst even before he formally announced his candidacy on April 26, 1926.Since the 1923 gubernatorial contest, he had distanced himself from Haly and promised the conservatives that he would not push a ban on parimutuel betting if elected.