Condensation of 4-acetamidobenzenesulfonyl chloride (I) with 4-amino-2,6-dibromopyridine (II) in pyridine at 60 C afforded sulfonamide (III). The acetamido group was then hydrolyzed in refluxing 1 N NaOH to give (IV). Finally, substitution of both bromine atoms for methylamino groups was carried out by heating with liquid MeNH2 at 160 C in an autoclave.