Selective catalytic hydrogenation of nitro groups in the presence of activated heteroaryl halides.