In 2019, Queensland had a gross state product of A$357,044 million, the third-highest in the nation after New South Wales and Victoria. The construction of sea ports and railways along Queensland's coast in the 19th century set up the foundations for the state's export-oriented mining and agricultural sectors. Since the 1980s, a sizeable influx of interstate and overseas migrants, large amounts of federal government investment, increased mining of vast mineral deposits and an expanding aerospace sector have contributed to the state's economic growth.