The B&O also wanted access to Pittsburgh and coal fields in western Pennsylvania and Ohio. Although the directors of the Pennsylvania Railroad wanted a monopoly in their state, delays in laying track to Pittsburgh led the Pennsylvania legislature in 1846 to require construction to be completed within 10 years, else competition would be allowed. The Pennsylvania Railroad finished its trans-Allegheny track with two years to spare, thus the B&O would only be able to extend its tracks up the Youghiogheny River valley to the soft coal fields in 1871.