Friedel-Crafts acylation of 1-acetylindoline (I) with acetyl chloride and AlCl3 afforded ketone (II). Subsequent Baeyer-Villiger rearrangement using peracetic acid yielded acetate ester (III), which was hydrolyzed with NaOH to give phenol (IV). Bromination of (IV) with NBS in AcOH then provided bromo hydroxy indoline (V). Alkylation with 1-methyl-tetrahydropyridine-4-methanol (VI) under Mitsunobu conditions produced ether (VII). This was cyclized to the spirocyclic compound (VIII) using AIBN and tributyltin hydride in refluxing benzene. Then, amide hydrolysis in hydroalcoholic HCl gave (IX), which was finally condensed with acid chloride (X) to provide the desired amide.