By reaction of 1-cyclopropyl-6,7-difluoro-8-methoxy-4-oxo-1,4-dihydroquinoline-3-carboxylic acid (I) with 3-(methylamino)piperidine (II) by means of triethylamine in refluxing acetonitrile.