Arson in royal dockyards was a criminal offence in the United Kingdom and the British Empire. It was among the last offences that were punishable by execution in the United Kingdom. The crime was created by the Dockyards etc. Protection Act 1772 (12 Geo. 3 c.24) passed by the Parliament of Great Britain and was designed to protect Royal Dockyards and vessels from arson attacks.