of Yorkshire police forces were amalgamated to form the York and North East Yorkshire Police. Since 1974, Home Office policing in York has been provided by the North Yorkshire Police. The force's central headquarters for policing York and nearby Selby are in Fulford. Statutory emergency fire and rescue service is provided by the North Yorkshire Fire and Rescue Service, based in Northallerton. The city's first hospital, York County Hospital, opened in 1740 in Monkgate funded by public subscription. It closed in 1976 when it was replaced by York Hospital, which opened the same year and gained Foundation status in April 2007. It has 524 adult inpatient beds and 127 special purpose beds providing general healthcare and some specialist inpatient, daycase, and outpatient services. It is also known as York District Hospital and YDH. The Yorkshire Ambulance Service NHS Trust was formed on 1 July 2006 bringing together South Yorkshire Ambulance Service, West Yorkshire Metropolitan Ambulance Service and the North and East Yorkshire parts of Tees, East and North Yorkshire Ambulance Service to provide patient transport. Other forms of health care are provided for locally by clinics and surgeries. Since 1998 waste management has been co-ordinated via the York and North Yorkshire Waste Partnership. York's distribution network operator for electricity is CE Electric UK; there are no power stations in the city. Yorkshire Water, which has a local water extraction plant on the River Derwent at Elvington, manages York's drinking and waste water. The city has a magistrates' court, and venues for the Crown Court and the County Court. York Crown Court was designed by the architect John Carr, and built next to the then prison (including execution area). Between 1773 and 1777, the Grand Jury House was replaced by John Carr's elegant Court House for the Assizes of the whole county. The Female Prison was built opposite and mirrors the court building positioned around a circular lawn which became known as the "Eye of the Ridings", or the "Eye of York". 1776 saw the last recorded instance of a wife hanged and burnt for poisoning her husband. Horse theft was a capital offence. The culprits of lesser crimes were brought to court by the city constables and would face a fine. The corporation employed a "common informer" whose task was to bring criminals to justice. The former prison is now the Castle Museum but still contains the cells. Transport Water