Established in 1840, His Majesty's Railway Inspectorate (HMRI) is the organisation responsible for overseeing safety on Britain's railways and tramways. It was previously a separate non-departmental public body, but from 1990 to April 2006 it was part of the Health and Safety Executive. It was then transferred to the Office of Rail and Road and ceased to exist by that name in May 2009 when it was renamed the Safety Directorate. However, in summer 2015 its name was re-established as the safety arm of ORR.