Original: The Prince of Wales and the Duke of Edinburgh had previously made a visit to the line during its construction.
Simplified: The Prince of Wales and the Duke of Edinburgh visited the line during its construction.