The growth of the railways had a significant impact on the Pre-Raphaelite artists. For the first time the countryside was within easy reach of the capital. Some of their earliest works were painted in Surrey, which had been made accessible by the extension of the London and Brighton railway in 1847. John Everett Millais and William Homan Hunt were able to make landscape studies in Ewell in Surrey, which formed the background of Ophelia and The Hireling Shepherd.
The Pre-Raphaelites rarely included any signs of passing trains in their landscapes, but this new mode of transport enabled them to choose the places which have come to inform our vision of the Pre-Raphaelite landscape.