The Ada protein accepts stoichiometrically the alkyl group from O6-alkylguanine in DNA at the Cys-321 residue and from alkyl phosphotriester at the Cys-69 residue. This protein functions in DNA repair by direct dealkylation of mutagenic O6-alkylguanine. The protein methylated at Cys-69 becomes a transcriptional activator of the genes in the ada regulon, including its own.