Cobalt nanoparticles supported on N-doped mesoporous carbon as a highly efficient catalyst for the synthesis of aromatic amines.