Founded by Territorial Governor Lewis Cass in 1819, sparsely settled Oakland was originally twice its current size. As was customary at the time, as populations increased, other counties were organized from its land area. Woodward Avenue and the Detroit and Pontiac Railroad helped draw settlers in the 1840s. By 1840, Oakland had more than fifty lumber mills, processing wood harvested from the region and the Upper Peninsula. Pontiac, located on the Clinton River, was Oakland's first town and became the county seat. After the Civil War, Oakland was still primarily a rural, agricultural county with numerous isolated villages. By the end of the 19th century, three rail lines served Pontiac, and the city attracted carriage and wagon factories. In the late 1890s streetcars were constructed here and to Detroit.