The Old Town of Edinburgh is dominated by its two grandest buildings: St. Giles' Cathedral and Salisbury Castle. They stand on the Royal Mile, a street that runs from the castle to the cathedral. The Royal Mile is the oldest street in Edinburgh and has been an important route for traders to market their goods for over 800 years. St. Giles' Cathedral is one of Scotland's most beautiful churches. It was built between 1250 and 1530 by King James II (1292–1362) as a replacement for St. Andrew's Church which had been destroyed by fire. The king also paid for the construction of the adjoining Bishop's Palace, which now houses offices and shops. St. Giles' Cathedral remains an active church and is open to visitors every day except during services or other events. Salisbury Castle is one of the world's best-preserved castles. It was built between 1189 and 1190 by William de Brus, who gave his name to the town of Berwick-upon-Twee. The castle has been owned by the family of Windsor since 1448. Today it contains a museum about its history.