A thiol group introduced on the gamma-carbon of lysine mediates robust native chemical ligation at both the alpha- and epsilon-amines in two consecutive steps. Desulfurization then affords the final product, in which the lysine residue at the ligation site has an isopeptide bond on its side chain. The method is useful for the synthesis of proteins containing special post-translational modifications on lysine.