For over 150 years, Camden served as a secondary economic and transportation hub for the Philadelphia area. However, that status began to change in the early 19th century. Camden was incorporated as a city on February 13, 1828, from portions of Newton Township, while the area was still part of Gloucester County. One of the U.S.'s first railroads, the Camden and Amboy Railroad, was chartered in Camden in 1830. The Camden and Amboy Railroad allowed travelers to travel between New York City and Philadelphia via ferry terminals in South Amboy, New Jersey and Camden. The railroad terminated on the Camden Waterfront, and passengers were ferried across the Delaware River to their final Philadelphia destination. The Camden and Amboy Railroad opened in 1834 and helped to spur an increase in population and commerce in Camden.