Ministry of Defence Lyneham or MOD Lyneham is a Ministry of Defence site in Wiltshire, England, about 7 miles (11 km) northeast of Chippenham and 9 miles (14 km) southwest of Swindon. The site houses the Defence School of Electronic and Mechanical Engineering. Also here is Prince Philip Barracks, housing the regimental headquarters of the Royal Electrical and Mechanical Engineers (REME), 8 Training Battalion REME and the REME Museum. Previously, the site was RAF Lyneham which was the home of all Lockheed C-130 Hercules transport aircraft of the Royal Air Force (RAF) until they were relocated to RAF Brize Norton. The RAF station closed on 31 December 2012.