The Citadel and walls, built to protect the city, are the largest standing fortifications in North America, earning Quebec a place on UNESCO’s World Heritage List. There are also a product of the late 19th century mania for the picturesque having been largely rebuilt in a more romantic style. Porte St. Jean originally dates back to at least 1694, was demolished in 1791 because of its poor condition and rebuilt. This gate lasted until 1865 when it was demolished and rebuilt again. The present version of the gate was built in 1939.