the years after the Civil War, they would become magnets for immigrant labor. In addition to fishing, important 19th century industries included granite and slate quarrying, brick-making, and shoe-making. Starting in the early 20th century, the pulp and paper industry spread into the Maine woods and most of the river valleys from the lumbermen, so completely that Ralph Nader would famously describe Maine in the 1960s as a "paper plantation". Entirely new cities, such as Millinocket and Rumford were established on many of the large rivers. For all this industrial development, however, Maine remained a largely agricultural state well into the 20th century, with most of its population living in small and widely separated villages. With short growing seasons, rocky soil, and relative remoteness from markets, Maine agriculture was never as prosperous as in other states; the populations of most farming communities peaked in the 1850s, declining steadily thereafter. Railroads Railroads shaped Maine's geography, as they did that of most American states. The first railroad in Maine was the Calais Railroad, incorporated by the state legislature on February 17, 1832. It was built to transport lumber from a mill on the Saint Croix River opposite Milltown, New Brunswick two miles to the tidewater at Calais in 1835. In 1849, the name was changed to the Calais and Baring Railroad and the line was extended four more miles to Baring. In 1870, it became part of the St. Croix and Penobscot Railroad. The state's second railroad was the Bangor & Piscataquis Railroad & Canal Company incorporated by the legislature on February 18, 1833. It ran eleven miles from Bangor to Oldtown along the west bank of the Penobscot River and opened in November, 1836. In 1854-55, it was extended 1.5 miles across the Penobscot River to Milford and the name was changed to the Bangor, Oldtown & Milford Railroad Company. In 1869, it was absorbed into the European and North American Railway. The third railroad in Maine was the Portland, Saco and Portsmouth Railroad, incorporated by the legislature on March 14, 1837. This was a crucial step in the development of railroads in Maine because the new railroad connected Portland to Boston by connecting to the Eastern Railroad at Kittery via a bridge to Portsmouth. This railroad was opened on November 21, 1842 and was 51.34 miles in length. Portland in particular prospered as the terminus of the Grand Trunk railroad