The benzoquinoline carboxylate ester (I) is hydrolyzed with NaOH to produce the sodium carboxylate salt (II). Activation of (II) with propane-phosphonic anhydride, followed by coupling with N-(4-nitrophenyl)piperazine (III) furnishes the corresponding amide.