The establishment of a Royal Observatory was proposed in 1674 by Sir Jonas Moore who, in his role as Surveyor-General of the Ordnance, persuaded King Charles II to create the observatory, with John Flamsteed installed as its director. The Ordnance Office was given responsibility for building the Observatory, with Moore providing the key instruments and equipment for the observatory at his own personal cost. Flamsteed House, the original part of the Observatory, was designed by Sir Christopher Wren, probably assisted by Robert Hooke, and was the first purpose-built scientific research facility in Britain. It was built for a cost of £520 (£20 over budget; ) out of largely recycled materials on the foundations of Duke Humphrey's Tower, the forerunner of Greenwich Castle, which resulted in the alignment being 13 degrees away from true North, somewhat to Flamsteed's chagrin.