Just under one million people lived in New Zealand in 1907 and cities such as Auckland and Wellington were growing rapidly. The Dominion of New Zealand allowed the British Government to shape its foreign policy, and it followed Britain into the First World War. The 1923 and 1926 Imperial Conferences decided that New Zealand should be allowed to negotiate its own political treaties, and the first commercial treaty was ratified in 1928 with Japan. When the Second World War broke out in 1939 the New Zealand Government made its own decision to enter the war.