St Margaret's, Lee of the restoration, the church is one of the best preserved examples of a decorated gothic revivalist interior in London. Between 1813-1830 there had been an attempt to rebuild the medieval church, involving the architect Joseph Gwilt. This failed when it became clear that the foundations of the old church were incapable of supporting a new building. The ruins of the original building are in the medieval churchyard on the north side of Lee Terrace. The tomb of Edmond Halley (1656–1742), from 1720 England's second Astronomer Royal and the discoverer of the periodicity of Halley's Comet is in the churchyard,
Astronomer Royal executive responsibilities and a separate post of Director of the Royal Greenwich Observatory was created to manage the institution. The Astronomer Royal today receives a stipend of 100 GBP per year and is a member of the Royal Household, under the general authority of the Lord Chamberlain. After the separation of the two offices, the position of Astronomer Royal has been largely honorary, though he remains available to advise the Sovereign on astronomical and related scientific matters, and the office is of great prestige. There was also formerly a Royal Astronomer of Ireland. Astronomer Royal Astronomer Royal is a senior