Nonstoichiometric compounds are widely used in contemporary energy technologies due to their high surface polarity, tailored electronic structure, high electrical conductivity, and other enhanced properties. However, the preparation of such nonstoichiometric compounds can be complicated and, in some cases, uncontrollable and dangerous. Here, we report a "one-pot" strategy for synthesizing N-doped porous graphitic carbon that is hybridized with nonstoichiometric scandium oxide (