The town was a recognised port from the 16th century. Coal was shipped from Bo'ness to supply Edinburgh Castle in 1548. A harbour was authorised by an Act of Parliament in 1707. The harbour, constructed progressively during the 18th century, was extended and complemented by a dry dock in 1881 (works designed by civil engineers Thomas Meik and Patrick Meik). The commercial port (heavily used for the transport of coal and pit props) eventually closed in 1959, badly affected by silting and the gradual downturn of the Scottish coal mining industry. Plans currently exist for the regeneration of the docks area including reopening the port as a marina.