[1] The house remained in private hands until 1938, when it was acquired by the Air Ministry, and became RAF Pitreavie Castle.
When James acceded to the English throne in 1603 and travelled south to London, he left Dunfermline Palace in Wardlaw's care.
[2] It was originally built to a U-shaped plan, with a symmetrical layout comprising a rectangular main body about 20 metres (66 ft) long, two short wings projecting to north, and spiral staircases rising up both interior angles.
After the battle, which was a decisive victory for the Cromwellian forces (contemporary reports speak of 2,000 Scots killed and 1,600 captured, all for the loss of 8 of Overton's troops), a group of Macleans sought refuge in the house, but cursed the Wardlaw family when they were refused sanctuary.
After the Second World War, Pitreavie Castle became the headquarters of the NATO North Atlantic Area, home of the commanders of air forces (No.
18 Group RAF) and of naval forces in the North Atlantic, and the home of the Air Officer Scotland and Northern Ireland (AOSNI).
The castle has now been converted into several apartments with most of the surviving grounds developed as private housing and the Carnegie Campus business park.