The Cavalry Staff Corps was a military police unit of the British Army raised during the Napoleonic Wars. Consisting of four cavalry troops, the unit was first raised in 1813 during the Peninsular War to suppress criminal behaviour and desertion among the Duke of Wellington's troops. It was disbanded following the end of the Peninsular War in 1814 but was reformed in 1815 and served in the Hundred Days. The Cavalry Staff Corps was stationed in France during the Seventh Coalition's subsequent occupation of France from 1815 to 1818. The unit was Britain's first standing military police unit. A successor unit was raised for service in the Crimean War and the first permanent British military police unit was established in 1877.