3,4-Dihydro-6-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)-2H-1,4-benzoxazine acts as a reagent in the preparation of thieno[2,3-b]pyridine and thieno[3,2-b]pyridine derivatives that functions as HIV integrase inhibitor for treatment of HIV infection.