The amorphous-like carbon compound prepared by direct pyrolysis of 1,2-diaminopropane is found to be a stable strong magnet, the apparent saturation magnetization (Ms) of which is 10.5 emu g–1(0.022 µB per carbon atom), being comparable to ca. one-third of magnetite (Fe3O4, 30.7 emu g–1).