text: Methanesulfonyl chloride react with primary and secondary amines to give methanesulfonamides. Unlike methanesulfonates, methanesulfonamides are very resistant toward hydrolysis under both acidic and basic conditions. When used as a protecting group, they can be converted back to amines using lithium aluminium hydride or a dissolving metal reduction.