Lang still faced significant opposition within the caucus and the caucus appointed cabinet but he was able to defeat his opponents by returning his commission as Premier to the Governor, Sir Dudley de Chair on 25 May 1927. This automatically resulted in the dismissal of the cabinet. As there was no viable alternative government, De Chair recommissioned Lang to form a caretaker government on the condition that he would recommend a dissolution of the Legislative Assembly and call an election. The new government was formed solely of Lang supporters, and Lang used the four months prior to the election to ensure that his opponents were denied ALP pre-selection. In part due to the switch to single-member electorates, the ALP lost the election. However, the ALP caucus that was elected was firmly under Lang's control, ensuring that he would dominate NSW Labor for the next 12 years.