The novel catalyst is a nanostructured composite material composed of carbon nanowires with ruthenium atoms bonded to nitrogen and carbon to form active sites within the carbon matrix. Electron microscopy of carbon nanowires co-doped with ruthenium and nitrogen showed ruthenium nanoparticles decorating the surface of the nanowires.