The present invention relates to a process for preparing ceftaroline fosamilcomprisingthe steps of: (i) reacting a compound having the formula (2) or a salt thereof with acompound having the formula (3) , wherein Halis a halogen; and (ii) adding a reagentthat is a magnesium salt or an imidazole, unsubstituted or substituted by oneor moreC1-6 alkyl groups; to provide a compound having the formula (1) , wherein Phosis aphosphate group; and X is a cation that is a magnesium cation or animidazoliumcation, unsubstituted or substituted by one or more C1-6 alkyl groups. Itfurther relatesto intermediates of this process.
展开▼