 Treatment of this intermediate with trimethylsilyl iodide gives the allylic iodide (3).Displacement of halogen with 5,6,7,8-tetrahydroquinoline (2,3-cyclohexenopyridine) gives the corresponding quaternary salt.Hydrolysis of the silyl ester followed by adjustments of the pH leads to the betaine cefquinome (4).