A sapper, in the sense first use by the French military, was one who excavated trenches under defensive musket or artillery fire to advance a besieging army's position in relation to the works of an attacked fortification, which was referred to as sapping the enemy fortifications.