Question: Which ran longer Arizona Canal and Allegheny Portage Railroad

Context articles: Oregon Portage Railroad
Allegheny Portage Railroad
Lilly Bridge
Main Line of Public Works
Horseshoe Curve (Pennsylvania)
Arizona Canal
Bridge in Portage Township
Muleshoe Curve
Pennsylvania Canal
Blair Gap

The Oregon Portage Railroad was the first railroad in the U.S. state of Oregon.
 It originally ran for 4.5 mi , with an accompanying 7 mi of telegraph line, and was later extended to a length of 15 mi .
 The railroad was located on the south bank of the Cascades canal of the Columbia River.
 It ran from Tanner Creek (near where Bonneville Dam was later built) to the Cascade Locks, which were under construction in the later years of the railroad's operation.
 Although the Oregon Portage was the first railroad in Oregon, it was not the first along the Columbia River.
 Francis A. Chenoweth operated a rail line on the river's north bank in present-day Washington in 1851.
The Allegheny Portage Railroad was the first railroad constructed through the Allegheny Mountains in central Pennsylvania, United States; it operated from 1834 to 1854 as the first transportation infrastructure through the gaps of the Allegheny that connected the midwest to the eastern seaboard across the barrier range of the Allegheny Front.
 Authorized as part of the Main Line of Public Works legislation in 1824, it was a series of ten inclines connecting to a branch of the Pennsylvania Canal at either end, approximately 36 mi long overall.
 It had five inclines on either side of the drainage divide running athwart the ridge line from Blair Gap through along the kinked saddle at the summit into Cresson, Pennsylvania.
 The Portage Railroad utilized cleverly designed wheeled barges to ride a narrow-gauge rail track with steam-powered stationary engines lifting the vehicles.
 Except for peak moments of severe storms, it was an all-weather, all-seasons operation.
 Along with the rest of the Main Works, it cut transport time from Philadelphia to the Ohio River from weeks to just 3–5 days.
 The roadbed of the railroad did not incline monotonically upwards, but rose in relatively long, saw-toothed stretches of slightly-sloped flat terrain suitable to animal powered towing, alternating with steep cable railway inclined planes using static steam engine powered windlasses, similar to mechanisms of modern ski lifts.
Lilly Bridge is a historic stone arch bridge located at Lilly in Cambria County, Pennsylvania.
 It was built by the Allegheny Portage Railroad in 1832, and is an 18 ft bridge, with an elliptical shape and curved wingalls.
 It is built of roughly squared ashlar and crosses Burgoon Run.
The Main Line of Public Works was a package of legislation supporting a vision passed in 1826 — a collection of various long proposed canal and road projects that became a canal system (1824 proposals and studies) and later added railroads (amendments in 1828) designed to cross the breadth of Pennsylvania (mainly, southern) with the visionary goal of providing the best commercial means of transportation between Philadelphia and Pittsburgh.
 Built between 1826 and 1834 by the Commonwealth of Pennsylvania, it established the Pennsylvania Canal System, the Allegheny Portage Railroad, and the Pennsylvania Canal System administrated under a new Commission.
Horseshoe Curve is a three-track railroad curve on Norfolk Southern Railway's Pittsburgh Line in Blair County, Pennsylvania.
 The curve itself is about 2375 ft long and 1300 ft in diameter; it was completed in 1854 by the Pennsylvania Railroad as a way to lessen the grade to the summit of the Allegheny Mountains.
 It eventually replaced the time-consuming Allegheny Portage Railroad, the only other route across the mountains for large vehicles.
The Arizona Canal is a major canal in central Maricopa County that led to the founding of several communities, now among the wealthier neighborhoods of suburban Phoenix, in the late 1880s.
 Flood irrigation of residential yards is still common in these neighborhoods, using a system of lateral waterways connected via gates to the canal itself.
 Like most Valley canals, its banks are popular with joggers and bicyclists.
Bridge in Portage Township is a historic stone arch bridge located at Portage Township in Cambria County, Pennsylvania.
 It was built by the Allegheny Portage Railroad in 1832, and is an 18 ft bridge, with a semi-circular arch.
 It is built of coursed ashlar and crosses Bens Creek.
Muleshoe Curve is a curve of track on the former Pennsylvania Railroad, located near Duncansville, Pennsylvania.
 It never reached the same amount of popularity as the nearby Horseshoe Curve, located 4.34 mi (7 km) north of Muleshoe curve.
 This was mainly due to it being merely a secondary route between Spruce Creek and Gallitzin.
 Built in 1850s by the state of Pennsylvania as part of the New Portage Railroad (itself built to bypass the inclined planes of the Allegheny Portage Railroad).
 Pennsylvania Railroad (PRR) purchased the line (and the curve) in 1857 and promptly closed it, as the PRR already had their own line in the region.
 The rails were removed and used by the Pittsburgh, Fort Wayne & Chicago Railroad.
 In 1904 the line was reopened and double tracked by the PRR as a bypass.
 One track was removed in 1955 and the other in 1981.
 After the railroad was taken over by Conrail, Muleshoe Curve was permanently abandoned in 1981.
Pennsylvania Canal "(or sometimes Pennsylvania Canal system)" refers generally to a complex system of transportation infrastructure improvements including canals, dams, locks, tow paths, aqueducts, and viaducts.
 The Canal and Works were constructed and assembled over several decades beginning in 1824, the year of the first enabling act and budget items.
 It should be understood the "first use of any railway" in North America was the year 1826, so the newspapers and the Pennsylvania Assembly of 1824 applied the term then to the proposed Right of ways mainly for the canals of the Main Line of Public Works to be built across the southern part of Pennsylvania.
 Enacted before Railroads gestated during their infancy, the focus of the act was to create through building a canal system, the capability to ship heavy or bulk goods and connect Philadelphia to Pittsburgh—and "more importantly"—and "beyond" to the "new growth markets" in the developing territories reached by the Ohio River now called the midwest.
 Later, when updated in 1837 to reflect the experience of twelve years of toddler-railways, the term was also applied to railroads and new canals to be added to the state transportation system.
 As a crowning achievement, the Main Line of Public Works and the Pennsylvania Canal system topped 2100 ft in elevation by erecting the Allegheny Portage Railroad, which used a system of five inclines and five planes on each side of the Eastern Continental Divide at Cresson Pass in Cambria County to actually haul wheeled flat cars, which had halved canal boats placed on them, up and over the Allegheny Front and connect Pittsburgh to the Susquehanna.
 When finished in 1834 the trip from Philadelphia to Pittsburgh could be made in 3–5 days, weather conditions depending.
Blair Gap, one of the gaps of the Allegheny is a water gap along the eastern face atop the Allegheny Ridge or Allegheny Front escarpment.
 Like other" 'gaps of the Allegheny' "the slopes of Blair Gap were amenable to foot travel, pack mules, and possibly wagons allowing Amerindians, and then, after about 1778-1780 settlers, to travel west into the relatively depopulated Ohio Country decades before the railroads were born and tied the country together with steel.
 Historically, the gap was used for the upper sections of the Allegheny Portage Railroad, which as was authorized by the enabling acts in 1824 of Pennsylvania's Main Line of Public Works as part of the Pennsylvania Canal System which originally envisioned linking Pittsburgh to Philadelphia by canals.
 In the early 1900s, US Route 22 followed alongside the watercourse through the gap.