Ortho-lithiation with t-BuLi of the Boc-protected amine followed by addition of a Weinreb amide gave the 2-alkyl substituted 5-azaindole in good yield: J. Heterocycl. Chem., 29, 359 (1992), whereas DMF gave 6-azaindole in high yield: Synthesis, 877 (1996). 2-Substituted 6-azaindoles have also been synthesized in one step by direct dilithiation with s-BuLi, followed by reaction with an ester: J. Org, Chem., 70, 6512 (2005).