When a primary amine bearing one or more beta hydrogens is treated with methyl iodide, followed by aqueous silver oxide, followed by heat, the primary amine is converted to an alkene. This reaction is known as Hofmann elimination, not to be confused with Hofmann rearrangement.
The net reaction is 1,2-elimination, hence the name Hofmann Elimination.
Hofmann elimination occurs in three stages.
Stage 3 is a 1,2-elimination via E1cB mechanism.
see also quaternary ammonium salt