In the 18th and 19th centuries, the Board of Ordnance was a separate government department. It supplied weapons and ammunition to the army and Royal Navy, and built fortifications and all other military buildings. It was also responsible for the Royal Artillery and the Royal Engineers.