“…Nitrogen-containing carbon materials have attracted considerable attention due to promising electronic and physicochemical properties [1] which determine their potential applications as electrode materials for fuel cells and batteries [2][3][4], sensors [5][6][7], catalysts [8], electrocatalysts [5], supercapacitors [9][10][11], and adsorbents [9,[12][13][14][15]. Nitrogen-enriched carbon derivatives can be obtained by a variety of flexible methods, which include chemical vapor deposition [2,6,16,17], arc discharge [18,19], thermal treatment of C/N-containing compounds or mixtures in inert atmosphere [3,7,8,10,12] and annealing of materials in inert atmosphere [5,14,15]. Polyaniline and polyaniline-based materials containing both carbon and nitrogen atoms represent convenient precursors for the preparation of nitrogen-containing carbon derivatives.…”