Synthesis of an electronically modi ﬁ ed carbon nitride from a processable semiconductor, 3-amino-1,2,4-triazole oligomer, via a topotactic-like phase transition †

A thermally induced topotactic transformation of organic polymeric semiconductors is achieved using similarity of the chemical structures of two C,N,H-containing materials. Namely, the oligomer of 3-amino-1,2,4-triazole (OATA) is transformed into an electronically modi ﬁ ed graphitic carbon nitride (OATA-CN) upon heating at 550 (cid:1) C. During the transition, the ﬂ at band potential of the organic semiconductor is only slightly shifted from (cid:3) 0.11 eV to (cid:3) 0.06 eV, while the optical band gap is signi ﬁ cantly expanded from 1.8 eV to 2.2 eV. The advantage of the suggested approach is the processability of the starting semiconductor combined with minor morphology changes during the heat-treatment that enable preservation of the original oligomer micro-and macrostructures in the resulting carbon nitrides. As an illustration, di ﬀ erent OATA morphologies, including spherical nanoparticles, nanobarrels, nanowires and self-assembled macrospheres and composite sheets are synthesized and then transformed into OATA-CN with the retention of morphology. The surface area of the ﬁ nal carbon nitrides reaches 66 m 2 g (cid:3) 1 , without using any template, auxiliary reagent or post treatment. As a consequence, the photocatalytic activity of the obtained carbon nitrides in visible light driven hydrogen evolution is up to 5 times higher than that measured for the reference bulk carbon nitride prepared by pyrolysis of melamine.


Introduction
Among a number of physico-chemical properties of a particular organic semiconductor, the band gap, conduction band (CB) and valence band (VB) potentials are the most important.The band gap determines the wavelength that should be used to make a catalyst photochemically active and generate excitons.Thus, medium band gap semiconductors allow us to use the visible fraction of sunlight for diverse processes.On the other hand, wide band gap semiconductors having substantially negative CB or signicantly positive VB potentials come into play when pronounced reductive or oxidative properties, respectively, are the prerequisites for a photocatalytic reaction.][8][9] Anatase and rutile are among the known crystalline phases of TiO 2 , 10 which particularly differ in their band gap values.The band gap of anatase is 3.20 eV while that of rutile is 3.03 eV. 11In addition, the CB of anatase is 0.2 eV more negative than that of rutile. 12One of the consequences is that these phases possess different photocatalytic activities in a number of reactions. 13utile is known to be more thermodynamically stable than anatase, 14 and thus can be obtained by heating anatase at 600 C. 15 Therefore, band structure tuning of TiO 2 and some other inorganic materials can be simply achieved by heating.This is, however, totally different to that of organic semiconductors.In organic semiconductors, band tuning is usually accomplished by doping with elements, e.g.S, 16 B, 17 and F, 18 or by means of molecular doping when combining different monomer-comonomer pairs. 19,20To the best of our knowledge, there are no reported studies describing thermally induced structural transitions between two different organic semiconductors.This is to be expected considering the usually large differences in their chemical structures, cf.poly(p-phenylene vinylene) 21 and poly(3-hexylthiophene). 22 In general, the idea to use an organic semiconductor as a precursor for another semiconductor is highly appealing because the texture and packing effect on the band structure of the former may partially transfer to the nal material during the transformation induced, for example, by pyrolysis.In order to realize this idea we were searching for a couple of organic semiconductors with similar chemical structures.A suitable pair of semiconductors that can be regarded as a precursor and a product of a chemical reaction could enable the chemical transition between the materials, most favorably accompanied by minimal structural changes.
One suitable candidate to start with is shown in Fig. 1a.This is a recently reported oligomeric 3-amino-1,2,4-triazole (OATA, 3-amino-1,2,4-triazole tetramer), 23,24 an organic semiconductor with a narrow band gap of $1.7 eV, built of aromatic 1,2,4-triazole rings with alternating C-N and N-N bonds.On the other hand, monomeric substituted 1,2,4-triazoles can serve as precursors to prepare carbon nitrides with the structure represented by the cross-linked melon polymer shown in Fig. 1b. 25 A melon polymer built of tri-s-triazine (heptazine) units, converts into a heptazine-based graphitic carbon nitride upon subsequent condensation with elimination of ammonia.Thus, a conversion of OATA into a carbon nitride material by heat treatment seemed to be possible.
Traditionally, carbon nitrides are prepared by the pyrolysis of small organic molecules such as cyanamide, melamine, etc. 26,27 According to the accepted mechanism, 28 the band structure of the resulting semiconducting polymer is gradually developed upon a sequence of condensation steps.In the present contribution, heptazine-based carbon nitrides are prepared starting from the already semiconducting oligomer OATA.OATA possesses a number of advantages over traditional monomeric carbon nitride precursors.First of all, it does not sublime, e.g. as melamine, which provides precise control of the carbon nitride weight aer pyrolysis, and it does not melt.This is particularly important for the preparation of carbon nitride thin lms with controlled thickness and morphology.Secondly, the OATA to carbon nitride transformation occurs with signicant retention of the at-band potential and morphology as will be illustrated by a number of examples.Thirdly, OATA is soluble in common organic solvents making it possible to obtain precursor particles of the desired morphology under either appropriate synthetic conditions, as shown, for example, for pyrrole oxidative polymerization, 29 or oligomer posttreatment, e.g.recrystallization, etc.The subsequent pyrolysis, in turn, converts the precursor into a carbon nitride possessing a similar morphology.

Results and discussion
OATA was prepared by the oxidative polymerization of 3-amino-1,2,4-triazole.In order to obtain products with different morphologies, different isolation conditions and posttreatment steps indicated in the Experimental section were used.The sample OATA-1 was obtained as nanorods with the length varying from 100 nm to 500 nm as demonstrated by scanning electron microscopy (SEM) studies (Fig. 2a).The morphology of OATA-2 that was prepared using KOH instead of NH 4 OH for the reaction mixture neutralization is represented by 2-3 mm long nanowires tangled together and resembling the 'wings of a bat' (Fig. 2c and S1a and S1b †).On its turn, the OATA-3 sample prepared by the precipitation of OATA-1 from its saturated solution in dimethyl sulfoxide, DMSO, has a spherical nanoparticle morphology with a diameter as small as $30 nm (Fig. 2e and S1c †).Finally, OATA-4 obtained by freeze-drying an aqueous dispersion of OATA-1 adopts the morphology of macrospheres and macrosheets composed of 0.1-1 mm long nanorods (Fig. 2g and S1d and S1e †).The elemental composition of OATA-N samples determined by the elemental analysis (Table S1 †) is close to the one expected for the OATA structure shown in Fig. 1a.
A somewhat increased C/N ratio in the samples is attributed to the hydrolysis of the side NH 2 -group to the OH-group in an alkaline reaction medium.The increased H content and the presence of oxygen in the materials are due to partial hydration of the products' surface and the hydrolysis mentioned above.This is further supported by the TGA-MS studies of OATA discussed below.The identity of the Fourier transform infrared (FTIR) spectra of the OATA samples (Fig. S2a †) with each other and with the one reported in the literature conrms the successful preparation of the tetramers. 23ll four OATA-N precursors were then subjected to pyrolysis at 550 C for 4 hours.Based on the results of the FTIR spectroscopy, powder X-ray diffraction (PXRD), optical absorption and emission spectroscopies and elemental analysis studies that are discussed below, these obtained products were identi-ed as heptazine-based carbon nitrides, however with a modi-ed electronic structure, namely, with a very 'low-lying' CB.
In order to shed light on the mechanism of OATA transformation to carbon nitride, TGA-MS studies were conducted (Fig. S3 †).OATA is known to be stable up to 200 C, 30 and this is in agreement with the results of the present study.Further increase of temperature is accompanied by a gradual loss of weight and progressive elimination of species with m/z ¼ 27 and 28 that are assigned to HCN + and N 2 + , respectively (Fig. S3a and S3b †).The elimination of HCN is supported by the presence of its CN + fragment with m/z ¼ 26 (Fig. S3c †), while the assignment of m/z ¼ 28 species to N 2 is based on the detection of 15 N 14 N + species with m/z ¼ 29 in a ratio, close to the one expected from the relative occurrences of the two nitrogen isotopes (Fig. S3d †).Besides, the ion current curves of the m/z 28 and 29 species have fully identical behavior.The production of HCN reaches a maximum at about 470 C, then decreases slightly upon further increase of temperature to 550 C, and then increases again.The ion currents of N 2 -related species (m/z ¼ 28 and 29) exhibit two local maxima, at about 220 C and 470 C. A steeper drop of the sample weight observed between 440 and 500 C is followed by another gradual decrease of the mass upon temperature increase, yielding a solid residue of about 30% of the starting amount at 600 C. The real residual mass of OATA at 550 C under the synthesis conditions used is, however, close to 50% of the original sample weight.Trace amounts of water in the analytical system are observed as characteristic ionization species with m/z ¼ 18 (H 2 O + ) and 17 (OH + ) exhibiting a single ion current maximum at 100 C (Fig. S3e and f †).The absence of the sample weight loss at 100 C proves the absence of water in the sample itself, while the identical behavior of the ion current curves of m/z 17 and 18 enables us to attribute the species with m/z ¼ 17 to OH + only, and exclude the presence of NH 3 among the products of OATA pyrolysis.Oxygen (O 2 + , m/z ¼ 32) and carbon dioxide (CO 2 + , m/z ¼ 44) originate from the impurities in the carrier gas ow, as suggested by the absence of the peaks in the corresponding ion current curves (Fig. S3g and S3h †).The presence of a few species with m/z ¼ 52 whose ion current exhibits a maximum at 470 C is attributed to C 2 N 2 + fragments that could originate from the decomposition of the triazole-ring at high temperatures or from the dimerization of CN + fragments mentioned above (Fig. S3i †).Some C 2 N 2 -related species, such as C 2 + fragments (m/z ¼ 24) are found to be produced in small quantities at temperatures close to 470 C (Fig. S3j †).
The results of the OATA TGA-MS studies indicate clearly that the mechanism of carbon nitride formation from OATA differs signicantly from the one reported for the polymer synthesis from melamine. 31In the latter case, melem (2,5,8-triamino-tri-striazine) is formed as an intermediate at about 450 C, and its subsequent condensation reaction at higher temperatures leads to the formation of a cross-linked melon polymer, typically referred to as 'graphitic carbon nitride' (ref-CN).Both melem formation from melamine and its further polycondensation are accompanied and actually driven by the elimination of ammonia gas.OATA, compared to melamine, is a more nitrogen-rich and hydrogen-poor precursor, and thus the formation of a carbon nitride from OATA by the polycondensation mechanism that is accompanied by ammonia release, is highly unlikely from the standpoint of stoichiometry.Instead, elimination of nitrogen gas appears much more probable and is supported by the conducted TGA-MS studies.Besides, OATA contains C-H bonds, which are absent in melamine, and therefore the production of HCN detected by TGA-MS comes as no surprise.
Based on the results of the TGA-MS studies, we suggest a plausible mechanism for the tri-s-triazine unit formation from OATA as depicted in Fig. S4a.† The reaction presumably starts with a nucleophilic attack of the nitrogen atom at the carbon atom of the adjacent triazole ring resulting in a highly strained intermediate 'A'.The latter is transformed into a zwitterionic intermediate 'B' by the cleavage of the C-N bond thus releasing the constraint.Upon the nucleophilic attack of the imide nitrogen atom at the carbon atom of the adjacent triazole ring, 'B' is converted into intermediate 'C'.At this point, the structure of the intermediate already resembles a tri-s-triazine ring.A migration of a 3,5-diamino-triazole-1,2,4 moiety with the simultaneous proton shi gives rise to intermediate 'D'.The nucleophilic attack of the nitrogen atom of the preorganized tris-triazine ring at the triazole ring carbon atom with the simultaneous elimination of HCN gives intermediate 'E'.The elimination of HCN is in agreement with TGA-MS studies discussed above (see Fig. S3 †).The evolution of HCN starts at 210 C, reaches a maximum at 470 C, and then slowly ceases.'E' is transformed into 'F' via the hydride shi of the H b hydrogen atom to a diazonium group.This step increases the number of double bonds involved in the conjugation and thus stabilizes the whole structure.Further migration of the imidoguanidinelike backbone (highlighted in green) accompanied by an electrocyclization reaction yields intermediate 'G'.Finally, the formation of structure 'H' is achieved by aromatization and therefore stabilization of the tri-s-triazine structure that obeys Hückel's rule possessing 14 p-electrons.The formation of 'H' is realized by the expulsion of N 2 and H 2 molecules from 'G'.The evolution of nitrogen is conrmed by the TGA-MS studies.Different from melem which has three amino-groups attached to the heptazine ring, intermediate 'H' possesses two different reactive groups and a C-H bond, which can further react with OATA pyrolysis intermediates to yield a cross-linked melon polymer at 550 C. It is highly probable that some of these reactive groups or C-H bonds in 'H' will be preserved in the structure of the nal polymer causing alterations in its surface properties, such as at band potential, as will be demonstrated below.The triazole ring decomposition can, in principle, be a source of the aforementioned C 2 N 2 , presumably dicyan species.The proposed mechanism of this process is presented in Fig. S4b † and includes homolysis of the C-N bond leading to intermediate 'J' followed by the radical isomerization to 'K'.Upon expulsion of the N 2 molecule from 'L' and subsequent recombination of radicals, intermediate 'M' with an azirine cycle is obtained.The cleavage of the C-N bond gives rise to an azirinium cation and tri-s-triazine predecessor 'N'.The migration of a proton from the azirinium cation to 'N' and elimination of a H 2 molecule lead to the rearrangement of the azirine ring to dicyan (C 2 N 2 ).
The limited thermal stability of the 1,2,4-triazole ring ensures the full conversion of the precursor into the CN-polymer at the synthesis temperature used (T ¼ 550 C).Besides, the homogeneity of the precursor phase, implied e.g. by the uniformity of its particle morphology, together with the fact that the chemical transformations of the precursor occur in the solid state (see below), lead to the chemical homogeneity of the resulting products.The local structural order in the OATAderived products, however, is shown to be inhomogeneous (see below).
The elemental compositions of the carbon nitrides (OATA-CN-N, N ¼ 1, 2, 3, and 4) obtained by the pyrolysis of the OATA-N samples are given in Table S1, † as found by the elemental analysis.The C/N weight ratios in the products range between 0.603 and 0.623 (a hypothetical fully condensed carbon nitride would have 0.64, and condensed melon polymer has 0.57); these are higher than that in the reference sample obtained by the pyrolysis of melamine (ref-CN, C/N ¼ 0.576) suggesting a higher condensation degree, as also supported by the much smaller IR absorption band of the residual amino-groups at 3000-3500 cm À1 (Fig. S2b †).The presence of hydrogen is due to the incomplete condensation of amino-groups and the presence of the surface adsorbed water.The latter is also responsible for the presence of oxygen in the products.The FTIR spectra (Fig. S2b †) of OATA-CN-N materials are identical to each other and to the one of the reference carbon nitride.The peak at 810 cm À1 corresponds to the breathing mode of the tri-s-triazine unit.The group of peaks in the range 1100-1500 cm À1 is due to the stretching vibrations of C-N and C]N bonds in the tri-striazine unit.Two peaks at 1550 and 1650 cm À1 are due to N-H bending in the residual/terminal secondary and primary amino groups in the polymers.A broad peak between 2500 and 3600 cm À1 is attributed to H-X (X ¼ N, O) stretching of the uncondensed amino-groups and hydroxyl groups at the products' surface.The absence of the peak at 650 cm À1 typical for striazine ring suggests that the polymers are built of heptazine units. 32he cross polarization magic angle spinning (CP-MAS) solid state (SS) 13 C nuclear magnetic resonance (NMR) spectrum of OATA-2 derived carbon nitride (OATA-CN-2) demonstrates two peaks at $161 ppm and $153 ppm related to CN 2 (NH x ) and CN 3 carbons of the tri-s-triazine unit, respectively (Fig. 3a). 33The absence of a low eld signal at 168 ppm, as well as a lower-eld shoulder at the 161 ppm signal excludes the presence of triazine groups in the polymer.For comparison, the SS 13 C NMR spectrum of the precursor oligomer OATA-2 (Fig. S5 †) is represented by a broad peak between 135 and 178 ppm composed of a number of overlapping signals of different carbon atoms in the tetramer structure.Here, the peaks at 135-140 ppm are presumably due to N 2 C-H, N 2 C-NH 2 and CN 2 C-OH carbons, while those at 150-60 ppm are related to carbons surrounded by a higher number of electron withdrawing (deshielding) substituents (triazole groups).The SS 15 N NMR spectrum of OATA-CN-2 (Fig. 3b) shows two peaks at about À178 ppm and about À244 ppm that are typically assigned to NC 3 and NH x nitrogen atoms in carbon nitride, respectively. 34Thus, the results of the NMR study suggest that the pyrolysis of OATA samples at 550 C leads to the formation of CN-polymers built of tri-s-triazine units.
The rst hint on the microstructure retention upon transformation of OATA to carbon nitride was provided by the results of the PXRD studies summarized in Fig. 4. The PXRD patterns of OATA-N samples are similar to each other, with a pronounced diffraction peak at 2q ¼ 27.5 that corresponds to the d-spacing of 0.324 nm (Fig. 4a).It is assigned to the interlayer distance in OATA built of 1,2,4-triazole units that interact strongly via p-p stacking.The peak broadening observed for the OATA-3 sample is due to the decrease of the OATA crystallite size, while lowering of the peak intensity, most prominent in the case of the OATA-4 precursor, reects the decreased number of the  stacked layers, i.e. a preferred lateral orientation in the morphology.In the OATA-CN-N products (Fig. 4b), the position of the interlayer stacking peak is slightly shied to the lower angles, 2q ¼ 26.0-26.5 , implying that the layered arrangement of the oligomer is slightly expanded during heating.In addition, the peak became much broader illustrating a decrease of local structural order, typical for the rather complicated thermal elimination scheme.Indeed, transmission electron microscopy (TEM) studies show the presence of 'ultrasmall' crystallites composed of only a few (2 to 8) layers in the products (see below).The second typical carbon nitride reection due to the in-plane periodicity of the heptazine units appears at 2q ¼ 13.2-13.9and is also rather broadened.
The direct evidence of the preservation of the original OATA micro-and macromorphologies in the resulting carbon nitrides can be provided by SEM studies.Thus, carbon nitrides in the form of nanorods, nanowires, spherical nanoparticles and assembled macrospheres and macrosheets are obtained from OATA-1, OATA-2, OATA-3 and OATA-4 precursors, respectively, as illustrated in Fig. 2b, d, f and h and S5.† The retention of morphology is a highly appealing feature of the OATA to carbon nitride transformation that can be used to prepare CN-polymer structures with the desired morphology.The latter is important, in turn, since the optical and electronic properties of carbon nitrides are known to depend on the morphology.For example, carbon nitride nanorods prepared using porous anodic aluminium oxide as a template were shown to have an improved electronic structure compared to the bulk material resulting in better performance in hydrogen and oxygen evolution reactions. 35nother useful property of OATA is its much easier processability compared to the nal carbon nitrides.Thus, OATA can be dissolved in organic solvents such as DMSO and Nmethyl-2-pyrrolidone (NMP) at room or slightly elevated temperature.This can be used to prepare thin lms which, in turn, can be converted into carbon nitride upon pyrolysis.An additional advantage of the morphology retention is that the surface area of the precursors can be at least partially preserved in the products (Table S2 †).Among the starting compounds, OATA-3 prepared by precipitation from the concentrated DMSO solution has the highest surface area of 89 m 2 g À1 .During pyrolysis, the surface area decreased by 26% to 66 m 2 g À1 in the resulting product, OATA-CN-3, probably due to partial sintering of the nanoparticles (Fig. 5a).At the same time, both OATA-3 and the resulting carbon nitride are characterized by increased N 2 uptakes at relative pressures close to 1 which suggests the presence of some macropores in the solids.The presence of macropores in the OATA-CN-3 product, ranging from 20 nm to a few hundred nanometers, can be further visualised in a TEM image in Fig. 5b.The pyrolysis of OATA-1 and OATA-2 with their specic surface areas of 38 and 28 m 2 g À1 , respectively, did not change the surface area, while the surface area of OATA-4 decreased from 43 to 35 m 2 g À1 upon heat treatment (Fig. S7 †).
High resolution (HR) TEM studies demonstrated a segmented structure of OATA-CN-2 nanowires composed of fused together spherical nanoparticles (Fig. 5c) as well as the presence of some 'ultrasmall' crystallites made of 2-8 stacked layers in the structure that can be regarded as 'clusters' or 'quantum dots' (Fig. 5d), though the major part of the product seems to be amorphous.These nano-sized crystallites were presumably formed in the products as a result of the favourable orientation of a certain number of precursor molecules relative to each other.The presence of some species with quantized energy levels is also reected in the core-level electron energy loss (EEL) spectrum of the material shown in the inset of Fig. 5c exhibiting a very pronounced, i.e. localized, 1s / p* carbon transition.These nano-sized crystallites are likely responsible for the enhanced photocatalytic activity of the materials discussed below.Such 'clusters' are found to be extremely sensitive to the high energy electron beam and, therefore, are very hard to detect.This follows from the substantial decrease of the intensity of the 1s / p* carbon transition in the EEL spectrum upon the extended exposure of the sample to the electron beam.Thus, Fig. S8 † shows two EEL spectra of the same region of OATA-CN-3 measured one aer another without a delay.We assume that the role of the amorphous carbon nitride support is to efficiently stabilize the incorporated ultrasmall crystallites that are mainly responsible for the photocatalytic activity.This is different from the recently reported cases of the formation of a so-called 'isotype nanojunction'. 36,37In the reported cases, g-CN/g-CN heterojunctions were designed by the co-polymerization of two different CN-polymer precursors, yielding products with different electronic structures.In our case, however, a single precursor was used; besides, we nd no driving force for microphase separation, since the reactions proceed in the solid state, as suggested by the full preservation of the morphology during the synthesis.
The optical properties of OATA and OATA-CN-N samples were studied using UV-visible absorption spectroscopy and steady-state photoluminescence spectroscopy.The absorption spectra of OATA-CN-N materials (Fig. 6 and S9 †) are characterized by the presence of the two bands typical for some recentlyprepared heptazine based polymers: 22 a sharp stepwise one with the edge at $450 nm which is due to the p / p* semiconductor transitions and a broad one at $520 nm originating from n / p* transitions that are only allowed at some imperfections of the carbon nitride lattice. 38The p / p* transitions provide the main contribution to the photocatalytic activity of the products, while the n / p* transitions may still constitute about 10% of the overall visible-light induced photocatalytic activity, as recently demonstrated for the carbon nitride related polymers. 39ll OATA-CN-N products absorb a much larger fraction of visible light compared to ref-CN (Fig. 6), mainly due to the pronounced absorption at l > 500 nm.At the same time OATA-CN-3 absorbs the largest fraction of visible light among the differently structured materials (Fig. S9b †).The optical band gaps of OATA-N precursors and OATA-CN-N products calculated from the corresponding Tauc plots are summarized in Table S2.† All OATAderived carbon nitrides have wider optical band gaps compared to their oligomeric precursors, 2.17-2.23 eV vs. 1.76-1.92eV, but the band gap is signicantly smaller than that of the reference carbon nitride (2.7 eV).
The emission of OATA-CN-N materials is negligible compared to that of the reference polymer (Fig. S10a †).We attribute this to the more efficient separation of the photogenerated charge carriers, as suggested by the signicant photocatalytic activity of the OATA-derived products (see below).
The at band potentials of OATA-1 and OATA-CN-1, E FB , estimated using electrochemical impedance spectroscopy and Mott-Schottky analysis (Fig. S11 † eV) 2,40 suggesting a much stronger oxidation power.Thus, another principal advantage of OATA compared to the traditional monomeric carbon nitride precursors is the increase of the oxidation potential of the resulting polymer.During chemical transformation of the OATA precursor into carbon nitride, OATA loses much more nitrogen than carbon (Fig. S4 †).Thus, the position of the valence band of the resulting carbon nitride composed of nitrogen p z orbitals differs more signicantly from that of the precursor.Differently, the position of the conduction band of the nal polymer made of carbon p z orbitals is close to the CB position of OATA.
Considering the signicant differences in the electronic structures of OATA-derived polymers and traditional carbon nitrides, OATA can potentially be used to design hybrid materials with a heterojunction between different carbon nitride phases aimed at improvement of the charge separation.
The photocatalytic activity of OATA-CN-N was assessed in a Pt-assisted visible light driven hydrogen evolution reaction (HER) using triethanolamine (TEOA) as a sacricial hole scavenger (Table S2, Fig. 7b and S12 †).OATA itself is not active in the HER under the selected reaction conditions due to its dissolution in the aqueous TEOA.In general, OATA-CN-N solids exhibit at least two times higher activity in this reaction compared to that of the ground reference polymer.The superior activity of the OATA-derived polymers compared to ref-CN is a result of the interplay of the three factors, including higher surface areas of the solids, their improved visible light absorption and the presence of ultrasmall crystallites in their structure.These factors efficiently overbalance the unfavourable reaction kinetics caused by the proximity of the CB potentials of the products to the water reduction potential.In particular, OATA-CN-1 and OATA-CN-3 are found to be $5 times more active producing $3.2 mmol H 2 per hour that can be attributed to the better structural order in the two products (Fig. 4b) and higher surface area possessed by OATA-CN-3 (Table S2 †).The reaction rates can be further increased up to 14.7 mmol H 2 per h, if OATA pyrolysis is carried out in a LiCl/KCl eutectic salt mixture.Under these conditions, however, the reaction leads to potassium poly(heptazine imide). 25,39hus, the low-lying CB position of OATA-derived bulk CNpolymers still enables efficient hydrogen evolution, which is kinetically unfavorable in this case.However, the advantage of OATA-CN is its enhanced oxidation power, i.e. higher values of  VB potentials.This gives a chance to overcome the typical bottleneck of CN-polymers, namely much lower reaction rates in water oxidation compared to water reduction, and would be a subject of future studies.
The OATA-derived catalysts are found to be essentially stable during photocatalytic hydrogen evolution, as follows from the comparison of the PXRD patterns and FTIR spectra of a sample catalyst, OATA-CN-2, before and aer the HER experiment (Fig. S13 †).FTIR studies reveal the slight increase of the absorption band at 3000-3600 cm À1 corresponding to the stretching vibrations of the surface OH-, NH-, and NH 2 -groups.This is due to the fact that TEOA works as an efficient dispersing agent for the CN-polymers and thus causes partial exfoliation of the solid, which is accompanied by the creation of new catalystreaction solution interfaces.The newly created catalyst surfaces are then stabilized by bearing terminal OH-, NH-, and NH 2groups.The materials can be recycled aer the photocatalytic test and are shown to maintain the original activity in three consecutive photocatalytic runs (Fig. S14 †).

Conclusions
In the current contribution we showed that 3-amino-1,2,4-triazole tetramer OATA can be transformed into carbon nitrides by heat treatment.The reaction mechanism involves a number of condensation steps accompanied by the elimination of HCN and N 2 as revealed by the TGA-MS analysis.The OATA to carbon nitride transformation occurs in a topotactic-like fashion, with preservation of the macro-and micro-morphology.The habitus of the nal products is dened by the morphology of the original OATA nanoparticles, and can be tuned in a wide range, from 30 nm spherical nanoparticles to a few micrometers long nanowires.The at band position of the semiconductor is substantially preserved during the thermal semiconductor-to-semiconductor transition, while the optical band gap is getting bigger, due to the higher stability of the annealed samples.Therefore, using OATA, a class of carbon nitrides with a low-lying CB and potentially higher oxidative power (above 2 Volt) are obtained.The photocatalytic activity of OATA-derived products in the HER is up to 5 times higher than that of the polymer obtained by the pyrolysis of melamine.This is due to a number of factors, including better spectral coverage, presence of highly active 'ultrasmall' crystallites and higher surface area of the catalysts which, in turn, is a consequence of the morphology retention.Potentially, OATA is an excellent precursor for the preparation of carbon nitride lms with controlled thickness and morphology, and can be used to prepare composite carbon nitride materials with a heterojunction.

Synthesis procedures
Preparation of OATA-1.To a solution of 3-amino-1,2,4-triazole (12.47 g, 0.15 mol) and hydrochloric acid (7.2 mL, 37 wt%) in water (450 mL), a solution of ammonium persulfate (42.34 g, 0.19 mol) in water (250 mL) was added.The solution was stirred at room temperature overnight upon which the color gradually evolved from colorless to dark red.A solution of NH 4 OH (50 mL, 30 wt%) was added to the reaction mixture until pH ¼ 9-10 and the mixture was le under stirring for 4 days.The solid was separated by ltration, washed extensively with water and dried in a vacuum.Yield: 3.03 g (brown solid).
Preparation of OATA-2.To a solution of 3-amino-1,2,4-triazole (4.16 g, 0.05 mol) and hydrochloric acid (2.4 mL, 37 wt%) in water (100 mL), a solution of ammonium persulfate (14.11 g, 63 mmol) in water (100 mL) was added.The solution was stirred at room temperature overnight upon which the color gradually evolved from colorless to dark red.A solution of KOH in water was added to the reaction mixture until pH ¼ 9-10 and the reaction mixture was le at room temperature for 2 days.A brown solid was separated by centrifugation, washed with water (3 Â 45 mL) and water (30 mL) was added to the brown residue.The material was obtained as a uffy powder aer freeze-drying; yield: 535 mg.
Preparation of OATA-3.OATA-1 (400 mg) was dissolved in DMSO (20 mL) with stirring at +60 C for 15 min and cooled to room temperature.Water (500 mL) was added to the dark red solution.Within 2 days a ne powder precipitated.It was separated by centrifugation and washed with water (5 Â 1.5 mL).Water (15 mL) was added to the brown residue and freeze dried.Yield: 232 mg (brown solid).
Preparation of OATA-4.OATA-1 (212 mg) and water (30 mL) were placed into a ask and kept in a sonication bath for 30 min.The suspension was frozen in a liquid nitrogen bath and freeze-dried.
) are À0.11eV and À0.06 eV in the reverse hydrogen electrode (RHE) scale, respectively, implying that thermal treatment did not cause signicant changes in the at band position.The band structures of OATA-1 and OATA-CN-1 established from E FB and optical band gap values are schematically represented in Fig. 7a.The CB potential of OATA-CN-1 (À0.06 eV) is signicantly less negative than that of the ref-CN (À1.1 eV) 2,40 but still thermodynamically enables water reduction as demonstrated below.From this point of view, OATA-derived carbon nitrides can be regarded as materials with a low-lying CB.The difference of the CB potentials of OATA-CN and ref-CN can be partially explained by the presence of different unreacted surface groups, as discussed above.At the same time, the VB potential of OATA-CN-1 (+2.16 eV) is much more positive compared to that of the ref-CN (+1.6

Fig. 7 A
Fig. 7 A schematic representation of band structures of OATA-1 and OATA-CN-1 (a); activity of OATA-CN-N and ref-CN in a Ptassisted HER upon visible light irradiation, using TEOA as a sacrificial agent (b).