Nitrogen-doped porous carbon nanosheets derived from poly(ionic liquid)s: hierarchical pore structures for e ﬃ cient CO 2 capture and dye removal †

Poly(ionic liquid) has recently served as an important precursor for nitrogen-doped functional porous carbons. It was applied here in a facile one-pot approach to synthesize nitrogen-doped porous carbon nanosheets (NPCNSs) using C 3 N 4 nanosheets as sacri ﬁ cial templates. C 3 N 4 nanosheets are found to improve the carbonization yield and nitrogen content of NPCNSs and additionally facilitate the formation of a unique pore structure. Without post-treatments or activation steps, the as-synthesized NPCNS readily reaches a speci ﬁ c surface area above 1100 m 2 g (cid:1) 1 with hierarchical micro-/meso-/macropore structures while keeping a high nitrogen content (17.4 wt%). More signi ﬁ cantly, the NPCNS is able to deliver not only a high CO 2 adsorption capacity with outstanding reversibility, but also an unprecedented capacity in methylene blue uptake by 962.1 mg g (cid:1) 1 , which is among the few highest ever reported for wastewater, with excellent reusability.


Introduction
Nitrogen-doped porous carbon has received global interest and is still an increasingly expanding topic. [1][2][3][4][5][6][7][8] This is ascribed to its unique, tunable physical and chemical properties at both atomic and macroscopic scales and a wide application scope in the elds of catalysis, [9][10][11][12][13] environmental remediation, 14-18 energy generation and storage, [19][20][21][22][23][24] etc. It is believed that the doping of nitrogen atoms in the carbon framework not only adjusts the physical properties of the carbon material by increasing the overall electron density at the Fermi level while lowering the valence band position which improves the oxidation stability and electric conductivity, but also enhances the basicity of carbon to be highly active in catalysis. [25][26][27] Tremendous efforts have heretofore been devoted in the past few years to preparing such carbons with a large specic surface area and high nitrogen content, which can be grouped into three general strategies. The rst one is chemical or physical activation of existent nitrogen-doped carbon by acids (such as H 3 PO 4 and HNO 3 ), 28,29 alkalis (such as KOH), [30][31][32] or other reagents (such as CO 2 and H 2 O) 33,34 to etch the structure/graphitic layers, which facilitates majorly the formation of micropores. Usually, the usage of such harsh acids or alkalis could lead to structural corrosion, loss of intended nitrogen content and groups, and low product yields. The second strategy is the carbonization of a nitrogen-containing precursor in a template with a given nanostructure, such as mesoporous silica. [35][36][37][38][39] Unfortunately, removal of the silica template by harmful chemicals such as HF or NH 4 HF 2 is an unpleasant and legally restricted lab operation. The third strategy is post-treatment, such as thermal annealing in ammonia vapor 40 or acetonitrile vapor, 41 to dope porous nitrogen-poor carbons with appropriate reactivity. This approach suffers from the need for additional vacuum facilities but especially they are very time-and energy-consuming procedures, which limit their application to the elaboration of principles. Consequently, developing easy, cost-effective sustainable approaches towards porous carbons with a large specic surface area and high nitrogen content is still an attractive goal to be pursued in many groups.
Since the rst conversion of poly(ionic liquid)s (PILs) into graphitic, mesoporous and conductive carbon nanostructures in our group in 2010, 42 PILs have been proven to be a unique class of carbon precursors. 43,44 When comparing PILs over other polymers such as polypropylene, 45 polyacrylonitrile, 34 and poly(vinyl chloride) 46 as carbon precursors, the following advantages can be identied. Firstly, PILs are thermally stable at elevated temperatures even up to 400 C and minimize the mass loss of the precursor at further heating due to the ionic nature. Secondly, many PILs contain incorporated/conjugated heteroatoms such as nitrogen or phosphorus in their molecular structures, thus favorably yielding heteroatoms in the nal carbon products to tune physical properties and introduce active sites for catalyst design, as mentioned above. Thirdly, PILs are surface-active polymers which can serve as "universal coating" agents for diverse surfaces, say from metals over metal oxides to carbons. In other words, they are able to form homogeneous coatings or layers on most of the surfaces via a judicious choice of the backbone, anion and cation in their chemical structures. Accordingly, PIL-derived carbon materials with well-designed shapes and porous structures, including spheres, 47,48 nanotubes, 49 membranes, 50 and monolithic objects with an inner structure 51,52 have been prepared. The involved hard templating approaches such as using an SiO 2 sphere 47 and anodic aluminum oxide membrane 49 give specic surface areas that are typically below 800 m 2 g À1 , which restrict their material performance. In addition, the morphology discussed here, nitrogen-doped porous carbon nanosheets (NPCNSs) have not yet been addressed via the PIL approach. It is well known that the coexistence of porous structures at various length scales combined with a large specic surface area will advantageously amplify the unusual benet of nitrogen doping in carbon by accelerating the mass/energy transport to boost material performance. [53][54][55] Apart from using porous carbons in energy applications, environmental applications are of similar importance, especially because of the rich abundance and wide accessibility of a diversity of carbons. Two nearby cases driving the sustainable development of our modern society are greenhouse gas mitigation and wastewater treatment. [56][57][58][59] Previous studies have pointed out that CO 2 adsorption over carbon is closely related to its porosity and surface chemical state. 60 Incorporating heteroatoms such as nitrogen into the carbon matrix has been demonstrated to enhance CO 2 capture by virtue of the improved affinity between the active basic nitrogen sites and acidic CO 2 molecules. 23,24 As for wastewater treatment, various synthetic dyestuffs appearing in the effluents of industries of plastics, dyes, paper, textiles and leather have caused severe environmental concerns. Although a wide variety of adsorbents have been employed for dye removal from wastewater, most of the reported adsorbents carry limited adsorption capacities for organic dyes. Exploiting new efficient adsorbents with high adsorption capacities is thereby one of the key tasks in water purication.
In this contribution, we report on a facile one-pot approach to synthesize NPCNSs using PILs as the precursor and carbon nitride (C 3 N 4 ) nanosheets as sacricial templates. Compared to the previous methods, the advantages of the current approach are easily visible. The synthesis of NPCNSs involves no posttreatments or activation steps in spite of employment of a template (C 3 N 4 decomposes completely at around 600 C under the formation of small nitrication agents). It will be shown that the NPCNSs exhibit a high CO 2 adsorption capacity with outstanding reversibility and also that they are well-performing adsorbents for organic dyes.

Materials
Poly[3-cyanomethyl-1-vinylimidazolium bis(triuoromethanesulfonyl)imide] (PCMVImTf 2 N, simplied as "PIL", chemical structure shown in Fig. S1 in the ESI †) was synthesized according to our previous method, 61 and its apparent numberaverage molecular weight was measured to be 1.15 Â 10 5 g mol À1 by gel permeation chromatography. The g-C 3 N 4 (simpli-ed as C 3 N 4 ) nanosheets were prepared according to the previous work. 62 In a typical run, 10.0 g of urea was rst put into a crucible with a lid and then heated at 550 C for 4 h at a heating rate of 4 C min À1 in a muffle oven. Aerwards, light yellow C 3 N 4 nanosheets (morphology and microstructure displayed in Fig. S2 †) were collected. Methylene blue (MB, chemical structure shown in Fig. S3 †) was of analytical grade and supplied by Alfa Aesar. All other chemicals were of analytical grade.

Preparation of the NPCNSs
Firstly, 0.80 g of C 3 N 4 nanosheets were dispersed in tetrahydrofuran (THF) solution under vigorous agitation at room temperature for 6 h and subsequently sonicated for 6 h to obtain a homogeneous C 3 N 4 nanosheet suspension. Meanwhile, a dened amount of PIL was dissolved in THF. The C 3 N 4 nanosheet suspension and PIL solution were thoroughly mixed together in a C 3 N 4 /PIL mass ratio of 1, 5 or 10 under vigorous agitation at room temperature for 6 h and then sonicated for 6 h, followed by solvent evaporation at 70 C to obtain light yellow C 3 N 4 /PIL-x composites (x ¼ 1, 5 or 10). Aerwards, the composites were heated at 550 C for 1 h at a heating rate of 10 C min À1 under a nitrogen atmosphere and subsequently calcined at 750 C for 1 h to degrade C 3 N 4 nanosheets. Aer cooling down to room temperature, a black powder was nally obtained and denoted as NPCNS-1, 5 or 10. The carbon prepared from PIL in the absence of C 3 N 4 templates under the same fabrication process was denoted as C-PIL.

Characterization
Scanning electron microscopy (SEM) measurements were carried out in a LEO 1550-Gemini electron microscope (acceleration voltage ¼ 3 kV), and the samples were coated with a thin gold layer before SEM measurements. Energy-dispersive X-ray (EDX) maps were taken on the SEM with an EDX spectrometer. The surface element compositions were characterized by means of X-ray photoelectron spectroscopy (XPS) carried out on a VG ESCALAB MK II spectrometer using Al Ka exciting radiation from an X-ray source operated at 10.0 kV and 10 mA. Combustion elemental analyses were done with a varioMicro elemental analysis instrument from Elementar Analysensysteme. Transmission electron microcopy (TEM) measurements were performed using a Zeiss EM 912 (acceleration voltage ¼ 120 kV). High-resolution TEM (HRTEM) measurements were carried out on a FEI Tecnai G2 S-Twin transmission electron microscope operating at 200 kV. X-ray diffraction (XRD) patterns were recorded on a Bruker D8 diffractometer using Cu Ka radiation (l ¼ 0.154 nm) and a scintillation counter. Raman spectroscopy (T6400, excitation-beam wavelength ¼ 514.5 nm) was used to characterize the vibrational properties of carbon materials. The surface electrical property of dispersed C 3 N 4 nanosheets in THF was evaluated on a zeta potential analyzer (Malvern Zetasizer Nano ZS90). Nitrogen sorption experiments were performed with a Quantachrome Autosorb and Quadrasorb at 77 K, and the data were analyzed using Quantachrome soware. The specic surface area was calculated using the Brunauer-Emmett-Teller (BET) equation. The samples were degassed at 150 C for 20 h before measurements.

CO 2 capture
CO 2 capture was accomplished by measuring the adsorption isotherms of the samples at 273 K in a Quantachrome Autosorb and Quadrasorb (Quantachrome Instruments). The samples were degassed at 150 C for 20 h before measurements.

Dye removal
Adsorption experiments of MB using C 3 N 4 , C-PIL or NPCNSs were carried out in a batch process by stirring 5.0 mg of C 3 N 4 , C-PIL or NPCNSs in 10.0 mL of MB solution in a 25 mL plastic ask. Working solution of MB was prepared from the stock solution (1000 mg L À1 ) to the designed concentration for each experimental run. Aer stirring for 180 min, 1.0 mL of MB solution was withdrawn using a syringe, ltered and diluted through a 0.25 mm membrane for the later analysis of MB concentration. The absorbance of MB solution was measured using an UV/vis/NIR spectrophotometer (Lambda 900) to monitor the absorbance at l max ¼ 665 AE 1 nm, corresponding to the maximum absorbance. The concentration of MB solution was determined by a linear regression equation obtained by plotting the calibration curve for MB over a range of concentrations. Fig. 1 schematically illustrates the synthetic approach of NPCNSs using PIL as the precursor and C 3 N 4 nanosheets as sacricial templates. A C 3 N 4 /PIL-x composite with a different C 3 N 4 /PIL mass ratio (x ¼ 1, 5 and 10) was rstly obtained via mixing their suspension/solution in THF under sonication treatment. Aer the evaporation of THF, the composite was heated at 550 C for 1 h and subsequently calcined at 750 C for 1 h to convert PIL into carbon and simultaneously degrade the C 3 N 4 nanosheets. The resulting black powder was denoted as NPCNS-x (x ¼ 1, 5 and 10), while the carbon prepared from PIL in the absence of C 3 N 4 templates under the same fabrication process was denoted as C-PIL. Table 1 presents the carbonization yields of C 3 N 4 , C-PIL and the three NPCNS samples obtained at different C 3 N 4 /PIL mass ratios. Though C 3 N 4 itself has decomposed completely at 750 C (yield < 0.1%), when added to PIL, a higher carbonization yield of the C 3 N 4 /PIL-x composite compared to that of pure PIL is observed. For example, the carbonization yield of pristine PIL is 21.7%. In the case of the C 3 N 4 /PIL-1 composite, the yield is 24.4%. By adding more C 3 N 4 , even higher yields of 26.6% (NPCNS-5) and 30.0% (NPCNS-10) are received, respectively. A possible explanation is the reaction of the PIL condensates with the as-generated carbon nitride fragments via cycloaddition and biradical reactions. The surface of C 3 N 4 nanosheets has a negative charge, a value of about À30 mV determined by zeta potential measurement (Fig. S4 †). The cationic PIL chains thus rmly attach to the surface of C 3 N 4 nanosheets via electrostatic complexation. The as-built Coulomb-stabilized interface layer with nanoscale mixing is expected to promote cross-reactions, and indeed such "connement effects", were reported in several cases to enhance the carbonization yield. 5,47,63 Combustion element analyses were carried out to access the element compositions of NPCNSs (Table 1). In general, the NPCNS products consist of carbon (65.4-69.7%), nitrogen (14.9-17.4%) and oxygen (10.5-17.8%) with a trace amount of residual hydrogen (1.9-2.3%). An enhanced nitrogen content is noticed when the PIL is carbonized in the presence of C 3 N 4 . In the NPCNS-10 product, the nitrogen content is 17.4% and thereby a factor of 1.2 higher than that in the pure PIL-based sample. The improved carbonization yield as well as enhanced nitrogen content by mixing C 3 N 4 with PIL thus goes hand-inhand, both of which are favorable characters.

Results and discussion
XPS measurements were conducted to further analyze surface element compositions and binding motifs of NPCNSs, which are important for adsorption. The results are summarized in Table S1. † Fig. S5 † shows the survey scan XPS spectra with apparent C 1s (284.6 eV), N 1s (398.6 eV) and O 1s (532.3 eV) peaks. The high-resolution N 1s XPS spectra are curve-tted into four individual peaks (Fig. S6 †): pyridinic N (398.2 eV), pyrrolic N (399.7 eV), graphitic N (400.7 eV), and oxidized N (402.8 eV), which follows the previous work. 64 As displayed in Fig. 2, the quantitative analyses indicate that pyridinic N (49.9-51.7%) and graphitic N (29.8-31.3%) are the two most abundant N bonding schemes in the resultant NPCNSs.
The morphology of NPCNSs was visualized by SEM. It could be seen from Fig. 3a-f that the obtained NPCNSs appear as a continuous, interconnected 3D framework of nanosheets of diverse size with pores at different length scales. A large number of disordered macropores built up from irregular curving and stacking of nanosheets are observed (Fig. 3b, d and f), which are evidently different from that of the reference sample C-PIL being composed of small dense nanoparticles (Fig. S7 †). EDX maps of carbon, nitrogen and oxygen in the NPCNS-10 ( Fig. 3gi) conrm that the samples are uniform with respect to element distribution. The local structure of NPCNSs was further analyzed by TEM. As shown in Fig. 4a-c, NPCNSs consist of randomly aggregated, entangled graphene-like carbon nanosheets, the thickness of which ranges from several to a dozen of nanometers. A notable structural feature of these carbon nanosheets is the existence of crimples along the surface. HRTEM was conducted to highlight the subnanometer structure of NPCNS-10 (Fig. 4d). The dark parallel patterns (white arrows) are stacked graphene layers with short-range order on the local scale, indicating a partial orientation of graphite crystallites. From the above results, it can be concluded that C 3 N 4 nanosheets as templates have a profound impact on the morphology of the NPCNSs, as they obviously direct the carbonization from random connectivities to a hierarchically organized structural motif.
XRD measurements were employed to additionally characterize the local order of NPCNSs. As depicted in Fig. 5a, the appearance of a broad and weak diffraction peak at 2q ¼ 26.1 , which is assigned to the typical graphitic (002) plane, conrms the restricted stacking of the as-found graphene sheets. Raman spectroscopy (Fig. 5b) complements these observations: the G band at about 1580 cm À1 and D band at about 1350 cm À1 are relevant to the ordered carbon structure with the sp 2 electronic conguration, and the disordered/defective structure of carbon, respectively. The intensity ratio of the G/D band (I G /I D ) is usually Table 1 Yields, element compositions, and textural parameters of C 3 N 4 , C-PIL and NPCNSs

Sample
Yield a (%)    utilized to estimate the degree of graphitization, but is of course also massively inuenced by the nitrogen content and the coupled molecular pores and edge terminations. With increasing the C 3 N 4 /PIL mass ratio, the I G /I D value of the resultant carbon products is reduced from 0.95 to 0.82. Besides, the rather weak 2D band at about 2660 cm À1 and D + G band at about 2880 cm À1 verify the low longer range regularity of the material at 750 C. Nitrogen adsorption/desorption measurements were carried out at 77 K to analyze the textural properties of C 3 N 4 , C-PIL and NPCNSs. The results including the Brunauer-Emmett-Teller specic surface area (S BET ) and pore volume (V) are summarized in Table 1. As displayed in Fig. 6a and b, C 3 N 4 nanosheets as such are poorly porous, bearing a small S BET value of 97.0 m 2 g À1 and low V (0.101 cm 3 g À1 ). As a second reference sample, C-PIL prepared from PIL alone presents a combined type I/IV physisorption isotherm. A high adsorption capacity at low relative pressure (P/P 0 < 0.1) is observed, which reveals the signicant presence of micropores in the C-PIL. The detectable type-H4 hysteresis loop at the relative pressure P/P 0 ranging from 0.4 to 0.8 corresponds to the lling and emptying of a small fraction of mesopores by capillary condensation. The formation mechanism of the micro/mesopores is believed to be similar to that reported by Dai et al. 65 They found that the cyano groups in the chemical structure of the ILs underwent trimerization reaction at medium temperatures (350-450 C), rst producing a solid triazine-based polymeric network. The largesized anions (Fig. S1 †) were trapped and aggregated in the matrix, and le behind the pores via the subsequent volatilization of this entity. The S BET and V of C-PIL are determined to be 707.6 m 2 g À1 and 0.382 cm 3 g À1 , respectively.
The adsorption/desorption isotherms of NPCNSs obtained at different C 3 N 4 /PIL mass ratios follow the type IV isotherm with a weak H3 hysteresis loop (Fig. 6c), which goes very well with the layered nanostructure, surface adsorption onto these entities and a weak occurrence of slit-pores between carbon nanosheets. The hysteresis loops of NPCNSs occur at low relative pressure (P/P 0 < 0.1) characterizing the long slit-like micropores to have a microporous character, with a slit distance of 1.1 nm. All the rest of the curve is typical for strong surface adsorption along delaminated carbon sheets, i.e., complying well with the structural features of the sample. Particularly, with the increasing C 3 N 4 /PIL mass ratio from 0, 1 and 5 to 10, the S BET and V increase from 707.6, 723.5 and 965.2 to 1120.0 m 2 g À1 , and from 0.382, 1.420 and 1.620 to 2.280 cm 3 g À1 , respectively. Here, by framing with more C 3 N 4 , the S BET value steadily increases and exceeds 1100 m 2 g À1 . This is straightforward to understand: a relatively lower amount of PILs means a thinner surface layer on the templates and thereby a lower structural density. Combining those values with the even larger macropores observed in the SEM characterization (Fig. 3), it proves that C 3 N 4 nanosheets promote the desirable formation of a hierarchical sorption system in NPCNSs, where the slit pores and the graphitic sheet surfaces provide a high contact surface area, while the larger pores (macropores and large mesopores) highspeed transport channels.
Based on the above-mentioned analyses, without post-treatments or activation steps, NPCNSs possessing a large specic surface area with hierarchical pore structures and high nitrogen   content are synthesized from PIL through a facile one-pot sustainable approach. To exemplify potential applications, we now analyze their use in CO 2 capture and organic dye removal from wastewater. Fig. 7a presents the CO 2 adsorption isotherms measured at 273 K for C 3 N 4 , C-PIL and NPCNSs, respectively.
Remarkably, NPCNS-10 shows the desired unusually high capacity of 4.37 mmol g À1 at 273 K, obviously superior to those of C 3 N 4 (0.41 mmol g À1 ) and C-PIL (2.83 mmol g À1 ), a natural outcome of high specic surface area, large pore volume, combined pore sizes and high nitrogen content (especially the pyridinic N and pyrrolic N since they act as Lewis bases and readily interact with the acidic CO 2 molecules 23,24 ) in the NPCNS-10. Furthermore, the CO 2 adsorption capacities of NPCNS-1 and NPCNS-5 (Fig. 7b) are measured to be 3.01 and 3.71 mmol g À1 , respectively, which as expected are lower than that of NPCNS-10, but still among the better values found in the literature. Compared to other CO 2 adsorbents (Table 2), including N-doped microporous carbon, 66 microporous carbonaceous material, 67 microporous conjugated polymer, 68 microporous organic polymer, 69 covalent organic framework, 70 hollow octahedral carbon cage, 71 sulfone-DUT-5 metal organic framework, 72 N-doped carbon monolith, 17 well-dened microporous carbon, 73 porous carbon nanosheet, 74 and hierarchically porous carbon, 18 NPCNS-10 is among the top-performers for CO 2 capture.
Besides, the reversibility of CO 2 adsorption on NPCNS-10 is tested over 10 cycles (Fig. 7c), aer which a value of 4.01 mmol g À1 remains (Fig. 7d). This is approximately 92% of the original adsorption capacity. We assume that the other 8% are then blocked by other ordinary higher boiling-point impurities, e.g., water, but this capacity can be regained via regeneration treatment aer many cycles (Fig. S8 †). It is worth pointing out that as an absorbent NPCNS-10 is better than aqueous amine and amine-functionalized solids, for which large amounts of energy are oen required for the regeneration. 60 Additionally, thermal stability is another merit of NPCNS-10 than the organic counterparts. From this standpoint, it is allowed to state that NPCNS-10 displays satisfactory CO 2 capture performance with outstanding reversibility under ambient conditions.
The equilibrium isotherm describes how the adsorbate interacts with the adsorbent, and the correlation of experimental results to an adsorption model is helpful to understand the adsorption mechanism. A Langmuir model is applied to analyze the relationship between the equilibrium adsorption capacity (q e , mg g À1 ) of MB (which is considered as one of the major water contaminants in surface water and groundwater) on the NPCNSs and its equilibrium solute concentration (C e , mg L À1 ) as follows: where K L is the Langmuir constant (L mg À1 ) and q m is the maximum adsorption capacity (mg g À1 ) relating to the complete monolayer covering of MB, depending on the number of adsorption sites. Fig. 8a and S9 † show the equilibrium adsorption isotherms of MB on the C 3 N 4 , C-PIL and NPCNS-10. The amount of  adsorbed MB dramatically increases at a low nal solution concentration, suggesting a high affinity between MB molecules and the NPCNS-10 surface. Subsequently, the adsorbed amount quickly reaches a plateau at a high equilibrium solution concentration, reecting the saturation of adsorption. As displayed in Table 3, the R 2 value exceeds 0.999, i.e., the experimental results could be well tted using the Langmuir model. Strikingly, the q m of NPCNS-10 for MB is as high as 962.1 mg g À1 , which is more than 30 times higher than that of C-PIL (31.2 mg g À1 ) or C 3 N 4 (25.1 mg g À1 ). Though C-PIL (S BET ¼ 707.6 m 2 g À1 ) has a much higher specic surface area than that of C 3 N 4 (S BET ¼ 97 m 2 g À1 ), its adsorption capacity is only comparable to C 3 N 4 , as the rather small micropores of C-PIL suffer from being non-accessible. The superior MB adsorption capacity of NPCNS-10 is not only owing to its high specic surface area, but also its large pore volume, as well as a high relative contribution of the outer surface area and high nitrogen content. Hydrogen bonding interaction (e.g., the nitrogen atom of a pyridinic C-N group can serve as a hydrogen-bonding acceptor) and p-p interaction (since MB is a planar molecule, see Fig. S3 86 and carbonaceous nanober, 87 NPCNS-10 shows the highest adsorption capacity of MB. Besides, from a synthetic point of view, NPCNS-10 possesses great advantages over previous adsorbents as no post-treatments (e.g., acid washing) 73 or activation steps (e.g., KOH activation) 75,76 are involved. Additionally, optical photographs were taken before and aer MB adsorption (Fig. 8b and c). For instance, aer the adsorption of MB with an initial concentration of 400 mg L À1 on the NPCNS-10, the model "polluted water" turns clear, affirming the efficient adsorption and distinct decolouration for tinctorial wastewater using NPCNS-10. In comparison, the equilibrium adsorption isotherms of MB on the NPCNS-1 and NPCNS-5 are illustrated in Fig. 8d. Similar to NPCNS-10, the adsorption isotherms of NPCNS-1 and NPCNS-5 belong to the type I curve, which is characteristic of the Langmuir isotherm. The q m of NPCNS-1 and NPCNS-5 for MB (Table 3) is up to 798.7 and 818.2 mg g À1 , respectively, lower than that of NPCNS-10.
The reusability of an adsorbent is essential to amplify its practical value. Herein, aer the rst run, NPCNS-10 was separated by centrifuge, washed with ethanol to desorb MB molecules and dried in a vacuum oven for its next use. Fig. 8e displays the adsorption performance of the reclaimed NPCNS-10. The adsorption capacity of NPCNS-10 aer 5 cycles is 935.0 mg g À1 , which is approximately 97% of the original capacity (962.1 mg g À1 ). Aer 10 cycles, 93% of the original capacity remains. It further decreases slightly along more cycles (Fig. S10 †). The lost adsorption capacity is caused by the incomplete MB desorption from the NPCNS-10 during regeneration, similar to previous reports. 75,87 Nevertheless, these values are higher than most of the reported adsorbents (Table  4). Based on these results, it can be concluded that NPCNS-10 represents a new candidate with excellent performance to remove organic pollutants from wastewater. Holey graphene nanosheet 269 81 7 Well-dened microporous carbon 292 73 8 Polymer organic framework 351 82 9 Graphene oxide-chitosan hydrogel 390 83 10 Activated carbon 396 84 11 Activated carbon nanotube 400 76 12 Cobalt/nanoporous carbon particle 500 85 13 Ordered mesoporous carbon 758 84 14 Porous carbon nanosheet 769 75 15 Carbon nanober aerogel 800 86 16 Carbonaceous nanober 818. 6

Conclusions
In summary, we have successfully prepared NPCNSs using PIL as the precursor and C 3 N 4 nanosheets as sacricial templates through a facile one-pot condensation approach. C 3 N 4 nanosheets are found to improve the yield and nitrogen content of NPCNSs and facilitate the formation of NPCNSs with unique included pore structures. The as-synthesized NPCNSs show a large specic surface area of 1120 m 2 g À1 and a high nitrogen content of 17.4%. More importantly, it is demonstrated that NPCNSs display not only a high CO 2 adsorption capacity with outstanding reversibility, but also a very high methylene blue adsorption capacity of 962.1 mg g À1 (among the highest ever reported adsorption capacities in wastewater) with excellent reusability. It is believed that without post-treatments or activation steps, this work opens up a new exciting sustainable avenue to synthesize functional porous adsorption materials from PIL. Related experiments along with their use in catalysis and energy storage are currently ongoing in our laboratory.