By condensation of 4-(chloroformyl)benzylphosphonic acid diethyl ester (I) with 2-amino-5-bromobenzonitrile (II) by means of dimethylaminopyridine (DMAP) and triethylamine in dichloromethane.