As soon as the Federation happened, Sir Edmund Barton was put in charge as Prime Minister of Australia until the first Australian elections were held. Barton won the election and continued to be the Prime Minister. 