Indolylacetic acid (I) was esterified with ethanolic HCl, and the resulting ethyl ester (II) was alkylated with 4-fluorobenzyl chloride (III) in the presence of NaH to afford the N-fluorobenzyl indole (IV). Subsequent saponification of (IV) provided carboxylic acid (V). This was finally coupled with 4-aminopyridine (VI) by means of activation with 2-chloro-1-methylpyridinium iodide.