Prior to its construction, the fastest route to Holyhead from the island's mainland was via the old stone bridge at Four Mile Bridge (Welsh: Pontrhydybont/Pont-rhydbont/Pontrhypont). When the A5 road was being constructed between London and the Port of Holyhead, a more direct route was needed. Construction started in 1822, was completed a year later[2] and is a total of 3⁄4 mile (1.2 km) long.[3] It is significantly wider at the base (35 metres (115 ft)) than at the top (10 m (33 ft)).[1] The embankment to Holy Island was constructed using rock and materials excavated from a site on the Anglesey side. A workers' hamlet grew up around the artificially-created depression, which was nicknamed "the valley".[4] After work ended, the settlement remained developing into a medium-sized village known as Valley. A year after opening, the embankment was partly damaged in a storm in 1824.[4]
In the 1840s, the embankment was chosen to carry the North Wales Coast Line to the Port of Holyhead (rather than build an entirely new crossing). Work to significantly widen the structure was completed in 1848. To allay concerns that passing trains might startle horse drawn traffic using the embankment, a tall stone dividing wall was built between the road and the railway.[3]
The embankment remained the only major crossing between Holy Island and Anglesey for more than 175 years. In 2001 it was superseded by a new wider embankment, which was built as part of the final section of the A55 North Wales Expressway.[5] The section completely bypassed Valley and the old A5 at this point. The new crossing, which carries the modern A55 dual carriageway, was built parallel to the Stanley Embankment, following its north–south alignment.