Which of the following are examples of U.S. government actions that supported the settlement of western territories during the second half of the nineteenth century?

A. discovery of the first coal mines and oil fields
B. passage of the Homestead Act and the Pacific Railroad Act
C. establishment of the first textile mills and electrical lines
D. funding of the National Road and the Erie Canal

B. passage of the Homestead Act and the Pacific Railroad Act