A petard is a small bomb used for blowing up gates and walls when breaching fortifications, originally invented in France in 1579.