The first public railway in the world was the Lake Lock Rail Road, a narrow gauge railway built near Wakefield, West Yorkshire, England. The early wooden railways were improved on in 1793 when Benjamin Outram constructed a mile-long tramway with L-shaped cast iron rails.