By condensation of 1-ethyl 6,7,8-trifluoro-1,4-dihydro-4-oxoquinoline-3-carboxylic acid (I) with 2-methylpiperazine (II) in refluxing pyridine.