By condensation of 5-bromofurfural (I) with bromonitromethane (II) by means of KOH in methanol/water.