Controlled radical polymerization and in-depth mass-spectrometric characterization of poly(ionic liquid)s and their photopatterning on surfaces †

The preparation and characterization of poly(ionic liquid)s (PILs) bearing a polystyrene backbone via reversible addition fragmentation chain transfer (RAFT) polymerization and their photolithographic patterning on silicon wafers is reported. The controlled radical polymerization of the styrenic ionic liquid (IL) monomers ([BVBIM]X, X = Cl − or Tf 2 N − ) by RAFT polymerization is investigated in detail. We provide a general synthetic tool to access this class of PILs with controlled molecular weight and relatively narrow molecular weight distribution (2000 g mol − 1 ≤ M n ≤ 10 000 g mol − 1 with dispersities between 1.4 and 1.3 for p([BVBIM]Cl); 2100 g mol − 1 ≤ M P ≤ 14 000 g mol − 1 for p([BVBIM]Tf 2 N)). More importantly, we provide an in-depth characterization of the PILs and demonstrate a detailed mass spectrometric analysis via matrix-assisted laser desorption ionization (MALDI) as well as – for the ﬁ rst time for PILs – electrospray ionization mass spectrometry (ESI-MS). Importantly, p([BVBIM]Cl) and p([DMVBIM]Tf 2 N) were photochemically patterned on silicon wafers. Therefore, a RAFT agent carrying a photoactive group based on ortho -quinodimethane chemistry – more precisely photoenol chemistry – was photochemically linked for subsequent controlled radical polymerization of [BVBIM]Cl and [DMVBIM]Tf 2 N. The successful spatially-resolved photografting is evidenced by surface-sensitive characterization methods such as X-ray photoelectron spectroscopy (XPS) and time-of- ﬂ ight secondary ion mass spectrometry (ToF-SIMS). The presented method allows for the functionalization of diverse surfaces with poly(ionic liquid)s. ARIMED B6 lamp ( λ max = 320 nm) in a solution of the photoenol functional CTA to result in ( 7 ) followed by RAFT polymerization of ( 1 ) from the surface. Subsequent salt metathesis of ( 8a ) with KMnO 4 resulted in a highly violet colored meander pattern of p([BVBIM]MnO 4 ) ( 9 ).


Introduction
Ionic liquids (ILs) are organic salts with a melting point typically below 100°C. They have found significant applications in various fields ranging from chemistry to physics and materials science. 1 Recently, the polymerization of ILs, which forms a new class of ionic polymers, so called poly(ionic liquid)s (PILs), has emerged as a multifunctional platform that combines the advantages of ILs with the general property profile of polymers. [2][3][4][5][6] PILs are not only a natural extension of properties and function of ILs in materials science, but significantly advance the research scope of ionic polymers. For example, in spite of a high ion-pair packing density, the favorable solubility in a broad range of organic solvents and the achievable low glass transition temperature of structurally well-defined PILs offer new processing possibilities to fabricate ionic polymers for numerous functional materials.
Currently, the chemical structure of polymerizable ILs is dominated by the imidazolium type, which can be further classified into three major subgroups, i.e. the vinylimidazolium, (meth)acrylate, and styrenic ones. In the past several years, a wide range of polymerization techniques have been exploited to synthesize imidazolium-type PILs with defined structure characteristics. Among them, reversible deactivation radical polymerization techniques, such as the atom transfer radical polymerization (ATRP), and reversible addition-fragmentation chain-transfer (RAFT) polymerization are frequently used. [7][8][9][10][11][12] These radical polymerization techniques allow for superior control over the polymer chain characteristics and the endgroup functionalization.
PILs bearing styrenic type IL monomer units have a rigid polystyrene backbone that can provide mechanical stability to lock the highly ionic polymer matrix. These PILs are promising candidates as support for IL networks. For example, covalent porous IL networks are often generated from styrenic type IL monomers. 13 Additionally, PIL membrane materials for gas separation or sorption take advantage of the rigid polystyrene backbone to enhance the shape durability of membranes and the gas flux rate. 14 Preparation of such PILs from styrenic IL monomers is a synthetic task that usually involves free radical polymerization, which is easy to implement and important for large scale production. Yet, to understand the intrinsic structure-property-function relationship for further optimization of their materials performance, PILs with defined chain length and narrow molecular weight distribution are absolutely necessary. In literature, ATRP of a styrenic IL monomer has been reported by the groups of Matyjaszewski and Gin. 8,15 Both groups demonstrated that via ATRP, the PIL chain characteristics are tuneable and their block copolymers are accessible. An inherent problem in the polymerization of IL monomers by ATRP is, however, the inevitable ion exchange process between the required metal catalyst, copper halide and the IL monomer. Further, Cu ions may form complex anions with certain IL anions, 16 which makes it even more challenging to be removed from the polymer product. Therefore, in spite of excellent control over the polymerization process via ATRP, the field is motivated to search for alternative polymerization techniques to overcome these challenges. One solution is to apply RAFT polymerization that generally involves no metal salt. A study by Tenhu and coworkers 17 reported briefly that it is possible to polymerize a specific styrenic type chiral IL monomer, yet the RAFT polymerization of more representative and commonly used styrenic IL monomers, such as 1-butyl-3-( p-vinylbenzyl)-imidazolium-based IL monomers was not presented. Recently, Detrembleur and coworkers 18 demonstrated the preparation of vinylimidazolium-based block PILs featuring two different counter ions via RAFT polymerization.
The precise characterization of PIL chain features, in general, is very challenging. Due to the strong interactions with the column materials, size exclusion chromatography results in broadened traces, or in a complete absorption on the column surface. Different teams pioneered measuring PILs with different counter ions by SEC. 19,20 However, to date, only little efforts towards the detailed mass spectrometric analysis of these materials have successfully been carried out. 8,9,21 Motivated by the current status, we initiated the project on RAFT polymerization of frequently used styrenic IL monomers and provide a general synthetic protocol to access these PILs with controlled molecular weight, narrow molecular weight distribution, defined chain endgroup and no contamination from metal ion species. More precisely, we investigate the controlled radical polymerization of 1-butyl-3-( p-vinylbenzyl)-1Himidazolium chloride ([BVBIM]Cl, (1)) and 1-butyl-3-( p-vinylbenzyl)-1H-imidazol-3-ium bis(trifluoromethanesulfonyl)imide ([BVBIM]Tf 2 N, (2)) (Scheme 1) via RAFT polymerization and provide a comprehensive characterization of the polymers by various (mass spectrometric) analysis methods such as SEC, MALDI-ToF MS as well as ESI-MS. To the best of our knowledge, the mass spectrometric characterization via ESI-MS is shown for the first time in-depth.
In addition, surface design is a rapidly growing field in contemporary chemistry. PIL-decorated surfaces can serve as imaging, wetting/dewetting, and anti-biofouling interfaces. 8,22,23 Initiated by the pioneering work of Ye et al. on grafted PILs via ROMP on TiO 2 substrates and the positive anti-fouling studies, 23 Matyjazewski and coworkers thermally attached well-characterized, ATRP-prepared PILs on Si substrates that potentially could show anti-fouling characteristics. 8 Furthermore, Drockenmueller and coworkers patterned azidefunctionalized copolymerized PILs via UV irradiation and subsequent formation of highly reactive nitrenes on a silicon substrate. 24 Herein, we present a polymerization study of p([BVBIM]Cl) and p([BVBIM]Tf 2 N) in order to investigate the mass spectrometric behavior of PILs in solution. Furthermore, we study the characterization of photochemically patterned p([BVBIM]Cl) and p[1,2-dimethyl-3-( p-vinylbenzyl)-1H-imidazol-3-ium bis(trifluoro methanesulfonyl)imide] ( p([DMVIM]-Tf 2 N)) via a surface sensitive mass spectrometric analytical method, i.e. time-of-flight secondary ion mass spectrometry (ToF-SIMS) as well as X-ray photoelectron spectroscopy (XPS).

Results and discussion
Among other versatile features of the RAFT process, 25 the high tolerance towards functional monomers e.g. acrylic acids or vinyl esters, is an important characteristic. It is also expected to be a suitable candidate for the controlled radical polymerization of monomeric ILs and thus applied in the presented work. Scheme 1 summarizes the synthetic strategy for the preparation of the polymers p([BVBIM]Cl) (3) and p([BVBIM]Tf 2 N) (4). It should be noted that the synthesis and properties of 1-alkyl-3-( p-vinylbenzyl)-imidazolium based PILs was widely investigated, 8,15,26 yet the RAFT process of the corresponding monomers remains a challenge.
The polymerization of these ILs can either be achieved by the direct polymerization of [BVBIM]Tf 2 N (2) or by the polymerization of [BVBIM]Cl (1) followed by a counter ion exchange with Tf 2 N − . Both monomers [BVBIM]Cl (1) and [BVBIM]Tf 2 N (2) were synthesized by a quaternization reaction between 4-vinylbenzyl chloride and n-butylimidazole with a slightly modified synthesis protocol given in the literature. 27 A counter ion exchange with Tf 2 N − resulted in 2.  Table S1 in the ESI †). The polymerization of [BVBIM]Tf 2 N (2) was performed in butyronitrile as solvent due to its favorable solubility in non-polar/aprotic solvents. In general, the common controlled polymerization techniques, i.e. ATRP, RAFT and NMP, are complex and challenging for IL monomers such as 1 and 2 because of their ionic character. 20 The RAFT polymerization of [BVBIM]Cl (1) was carried out employing CPDT as chain transfer agent in DMSO at 85°C and VAZO-88 (k d = 2.01 × 10 5 s −1 ) 28 as radical starter. The molecular weight evolution of the SEC traces in Fig. 1(A) verifies the living character. Both the 1 H NMR (Fig. S11 †) as well as the SEC results are in good agreement with the theoretically obtained molecular weights ( Fig. 1(B): solid line). P([BVBIM]Cl) (3) is a charged polymer and thus interacts strongly with the column material and its polymer chains via hydrogen bonding of the chloride counter ion. As a consequence, halide-containing PILs prepared via RAFT polymerization often display a rather broad dispersity in a H 2 O-SEC system. 9 Thus, the optimum system for the SEC analysis has to be identified to suppress the intermolecular polymer and column interactions. In order to investigate the most appropriate eluent, the SEC measurements were carried out by variation of the polymer concentrations (in mg mL −1 ) as well as sodium chloride salt concentrations (refer to Fig. S1 †). The H 2 O-SEC system with a water/0.3 M formic acid/0.5 g L −1 NaCl mixture as eluent was identified as ideal system for the polymeric system (3). The system was calibrated against poly(4-vinylpyridine), which forms a polycation under SEC conditions and thus allows for a more accurate estimation of the molecular weight of our PILs. Furthermore, we have demonstrated that the dispersity decreases after successful salt metathesis of the corresponding p([BVBIM]Cl) (3) (M n = 8900 g mol −1 ; Đ = 1.55; DP n = 37) against LiTf 2 N resulting in p([BVBIM]Tf 2 N) (4) with a dispersity of 1.2 (SEC analysis with an eluent containing 10 mM LiTF 2 N and 10 mM n-butylimidazole). The calibration against polystyrene was in good agreement to the results obtained with the H 2 O-SEC system (refer to Fig. S1 †).
The polymerization of the Tf 2 N − containing monomeric IL 2 can be achieved in a similar synthetic approach. CPDT was used as chain transfer agent in butyronitrile at 85°C and 1,1′-azobiscyclohexane-carbonitrile as initiator. Fig. 2(A) shows the molecular weight evolution for the RAFT polymerization of [BVBIM]Tf 2 N (4) (10 mmol LiTf 2 N, 10 mmol n-butylimidazole, 35°C, flow rate 1.0 mL min −1 ). The controlled molecular weight evolution is depicted in Fig. 2(B). The determination of molecular weights of the polymers (M n < 10 000 g mol −1 ) is hampered by the presence of residual monomer. Precipitation in methanol/water was not successful, also dialysis in water (3 d at ambient temperature as well as for 14 d at elevated temperatures of close to 40°C) did not result in pure PILs. The dialysis in THF or acetone according to a literature method 8 may work for high-molecular weight PILs, however failed for our low-molecular weight polymers (due to diffusion out of the membrane). The dialysis in DMSO was successful for certain polymer samples, however, we were not able to implement the DMSO purification as a standard dialysis for Tf 2 N − containing PILs. Thus, the polymer signals and the monomer signal overlap in the SEC trace. The overlap is most likely due to the SEC column system in our laboratory that differs slightly from the SEC column system employed by Matyjaszewski and coworkers. 8,20 Thus, the peak of the molecular weight (M P ) was correlated with the conversion indicating a linear trend. However, the dispersity (Đ) (due to the overlap of the polymer signal and the monomer signal) was not determined and also the M n determination via NMR spectroscopy was hampered by the presence of the residual monomer. Table 1 provides an overview of the molecular weights calculated according to the monomer conversion, as well as the molecular weights obtained by NMR spectroscopy and SEC for 3 and 4. Salt exchange against bis(trifluoromethanesulfonyl)imide (Tf 2 N − ) converts the water-soluble polymers into highly hydrophobic ones that are soluble in solvents such as THF, DMAc and acetone. 29 Matyjaszewski and co-workers have shown that such PILs can easily be characterized by SEC with THF as eluent containing a small concentration of the appropriate counter ion. 20 In contrast to SEC, mass spectrometry is often employed in order to characterize the polymer chain structure. Nevertheless, mass spectrometric analysis of PILs is a considerable challenge because of their ionic character. 4 In particular when endgroup analysis is required, the determination of the exact mass is a crucial step for a detailed characterization of the synthesized materials, i.e. for subsequent post-modification reactions. 30 Electrospray ionization mass spectrometry (ESI-MS) 31 and matrix assisted laser desorption ionization (MALDI) 32 are the methods of choice for an in-depth characterization of the   Although we could not reproduce the MALDI-ToF MS measurements for our systems with the conditions given (refer to the ESI Fig. S3 †), we obtained a mass spectrum of polymer 3-1 (M n = 2000 g mol −1 ) by employing the non-acidic matrix material trans-2-[3-(4-tert-butylphenyl)-2-methyl-2-propenylidene] malonitrile (DCTB) (Fig. 4) and methanol as solvent. In contrast to ESI-MS, MALDI-ToF MS has the advantage to form mainly single charged species. The formation of single charged species is crucial for the detection of polymer (3) as during the ionization process different side reactions can occur (Fig. 3).
The high affinity of chloride acting as a H-bond acceptor is responsible for the unexpected ionization process. 33 According to the mass spectrometric data, the chloride counter ion is prone to be separated from the polymer chain, resulting in a N-heterocyclic carbene as illustrated in (3b) with m/z = 240.2 Th. 34 Furthermore, in accordance with the work by Kroon et al., 35 ILs bearing chloride as counter ion release alkyl chloride at elevated temperature (approx. 250°C in the case of [BMIM]Cl). Thus, 3c and 3d were detected as minor products during mass spectrometric analysis. The signals of the highest intensity (for single charged species) can be assigned to a mixture of species a and b (refer to Fig. 3). The detection of the polymer is attributedin most of the casesto the protonation of only one protonated carbene species b in the polymer chain while the other repeating units stay in the carbene form. In some cases, however, the ionization of only one repeating unit of the neutral polymer chain is induced by the sodium ion (refer to the structures in Table S4 and S5 †). In contrast to ESI-MS analysis, the molecular weight distribution obtained by MALDI-ToF MS analysis is limited by the dispersity of the polymer (Đ < 1.2). 36 Thus, only low molecular weight PIL polymers of rather narrow dispersities are characterized with MALDI-ToF MS. Interestingly, the linear mode of MALDI-ToF MS revealed a better resolution compared to the reflectron mode. This observation may be due to the broad dis-persity of the sample whereas the reflectron mode normally enhances the resolution in the case of a narrowly distributed polymer. Fig. 4(A) and 6(A) illustrate the MALDI-ToF as well as the ESI-MS spectrum obtained for p([BVBIM]Cl) (3). Due to the different side products formed during the measurements, the mass spectrometric analysis of PILs bearing chloride counter ions is highly restricted to the chain length. Thus, only very low molecular weights (approx. M w = 2000 Da) were observed in spectra with appropriately separated signals.
Due to the preference to form single charged species during MALDI-ToF MS analysis, the separation of hydrogen chloride from the polymer chain can be found in a MALDI-ToF spectrum (m/z = 35.8 Th). Furthermore, also the endgroup of the polymer (initiator of RAFT agent) or the degradation of the trithiocarbonate to the corresponding thiol can be found in the ESI-MS spectrum (marked with ′ for a thiol and * for the initiator as endgroup, Fig. 6(A)). In order to identify the different endgroup combinations of a RAFT polymerization    (Fig. 4(A)). Also, a RAFT endgroup conversion was studied dispersing the polymer in THF for three days. After three days, THF was evaporated, the polymer dissolved in methanol and mixed with the matrix in a ratio of 10 : 1 (matrix: sample). Clearly, THF reacted with the RAFT moiety 38 Fig. S4 † and Fig. 5).

Polymer Chemistry Paper
Most evident are two adjacent peaks with a m/z difference of 64 Th. According to Benicewicz and coworkers, 37 trithiocarbonates are prone to be oxidized to the corresponding sulfonic acid in THF after storage for 48 h, and to release gaseous SO 2 (64 Th) to form the hydroxyl endgroup (as matrix the team employed dithranol doped with 0.01 M AgTFA). As observed for methanol as solvent, gaseous HCl is released during the ionization process, resulting in an uncharged polymer. Fig. 4(B) and 6(B) illustrate the MALDI-ToF as well as the ESI-MS spectrum obtained for p([BVBIM]Tf 2 N) 4. In contrast to the counter ion Cl − of (3) that shows a high H-bond acceptor affinity, the weakly coordinating counter ion Tf 2 N − of 4 does not interact with the protons of the imidazolium ring. The repeating unit between two [4] + peaks (m/z = 521.1 Th) agrees well with the theoretical value (m/z (theo.) = 521.1 Th).
As observed in the MALDI-ToF measurements as well, the quality of the ESI-MS measurement correlates with the molecular weight of the polymer. The repeating unit of p([BVBIM]Cl) (3) is present in four species ( please refer to Fig. 3). The permutation of these processes together with the increasing chain length, multiple charges, and whether a proton or a sodium ion ionizes the polymer, results in high amounts of detectable ions. However, the degradation of the alkyl side chain (Fig. 3c and d) is observed with a limited probability. Thus, it is not surprising thatespecially for high-molecular weight polymersthe spectrum is complex. The assignment of the dominant peaks is summarized in Table S4 in the ESI. † Furthermore, the Coulomb interactions of Tf 2 N − appear to be stronger compared to Cl − and thus ESI-MS measurements lead to clear spectra ( Fig. 6(B)). The signal difference of m/z = 521.1 Th is assigned to the molecular weight of the monomer unit (m/z (theo.) = 521.1 Th). The thiocarbonyl thio endgroup of 4 is clearly identified (see Table S5 †). The ESI-MS analysis of the PIL bearing Tf 2 N − as counter ion is easier to evaluate since there are far less side events affecting the polymer chain during the ionization process compared to p([BVBIM]Cl) (3) polymers.
Therefore, a photomask is placed on the maleimide-coated surfaces 6, and irradiated with an ARIMED B6 lamp (λ max = 320 nm) for spatially resolved photopatterning of the samples with a RAFT agent for subsequent RAFT polymerization of 1 and 5. The surface was rinsed thoroughly with THF, acetone, methanol and Milli Q water, dried under a flow of nitrogen, and analyzed via XPS and ToF-SIMS, respectively.
The polymerization of [BVBIM]Cl (1) was subsequently carried out in a DMSO/DMF mixture (1 : 1, v/v) with a monomer concentration of approx. 0.6 mol L −1 . After addition of 2-(dodecylthiocarbonothioyl-thio)propionic acid (DoPAT) as sacrificial RAFT agent and VAZO-88 as radical starter, the mixture was degassed via three consecutive freeze-pump-thaw cycles. As demonstrated by Zamfir et al., 40 the grafting-from approach is best carried out in a 1 : 1 ratio of CTA : initiator. The high initiator concentration used is necessitated by the hopping migration mechanism explaining the steady termination of adjacent radicals on the surface. The polymerization was allowed to proceed for 7 h (50% conversion), ensuring the formation of high-molecular weight polymer on the surface.
The residual monomer as well as potential polymer attached via physisorption was removed by thorough rinsing of the functionalized surface 8a with Milli Q water, methanol, acetone, and Milli Q water followed by immersing the surface in methanol for 12 h. Subsequently, the surface was ultrasonically treated in a solution containing 0.5 g L −1 ammonium chloride and rinsed thoroughly with acetone.
Since p([DMVBIM]Tf 2 N (55% conversion after 7 h) is highly hydrophobic, the residual monomer as well as potential polymer attached via physisorption was removed by thorough rinsing of the functionalized surface 8b with acetone, dichloromethane, methanol and Milli Q water followed by treating the surface in a solution containing 1.0 g L −1 LiTf 2 N. Residual salt was removed via ultrasonification in acetone. . 41 The photo-ligation of 7 was evidenced by the sulfur signal at 163.6 eV indicating the presence of the trithiocarbonate group (refer to Fig. S13 in the ESI †). 42 After the surface-initiated polymerization to obtain 8a, the formation of the signal at 401.8 eV, which is characteristic for the imidazole group (N + ), is detected in the N 1s spectrum. The ( protonated) amine signal at 401.8 eV in the XPS increases from 0.3 at% (surface 7) obviously stemming from a contamination (e.g. unreacted APTES) to 8.9 at% (surface 8a), which  (1) and (5).

Polymer Chemistry Paper
This can be assigned to the formation of the imidazole group. Most characteristically, the presence of a signal originating from Cl 2p indicates the counter ion, which is absent on the APTES/ maleimide-coated surface 6 as well as on the RAFT agent-functionalized surface 7. ToF-SIMS images of the C 12 H 25 S − , S − , C 16 H 21 N 2 + (surface 8a) and C 14 H 17 N 2 + (surface 8b) fragments are shown in Fig. 9. ToF-SIMS images clearly confirm the covalent attachment of 7′ precisely following the dotted shape of the photomask. As expected, in the areas covered by the photomask, no photoenol reaction proceeded and thus no characteristic signals stemming from 7 were observed. After successful grafting-from of [BVBIM]Cl (1), ToF-SIMS measurements in the positive mode confirm the presence of the repeating unit (C 16 H 21 N 2 + ; m/z = 241.20 Th) on the surface 8a.
Furthermore, successful grafting of [DMVBIM]Tf 2 N (5) was also confirmed by its characteristic repeating unit (C 14 H 17 N 2 + ; m/z = 213.13 Th) on the surface 8a. Since this surface was prepared as proof-of-principle for the ToF-SIMS measurement, no XPS measurements were carried out on surface 8b. In addition, in order to confirm the presence of the ionic nature of the PIL attached to the surface, the substrate was immersed in KMnO 4 (refer to Fig. 7). After dipping the substrate into a 50 mM KMnO 4 solution for only two to three seconds, the surface was thoroughly rinsed with methanol and Milli Q water. Clearly, the meander structureassigned to the successful photopatterningbecame visible immediately. The stability of PILs with a redox-active counter ion was shown by Mecerreyes and coworkers. 43 Thus, it is believed that the ion exchange of Cl − against MnO 4 − proceeded on the surface 9. 44 It has to be noted that the brownish color of the pattern can be assigned to MnO 2 that was formed due to the rapid degradation of MnO 4 − (Fig. 9). The meander structure was used for this experiment to show the versatility of the presented photochemically induced approach.
Synthesis of the photoenol-functionalized RAFTagent (7′). The synthesis was followed the protocol of Kaupp et al. 42 Synthesis of 4-maleimidobutyroyl chloride. The synthesis was followed the protocol of Herrmann et al. 45 APTES-functionalization of Si wafer. The Si surfaces (approx. 1 × 1 cm 2 ) were treated with piranha solution (H 2 SO 4 : H 2 O 2 , 4 : 1 v/v) for 3 h. Subsequently, the Si wafers were rinsed thoroughly with Milli Q water and dried under a stream of nitrogen. In a further step, the activated surfaces were placed in a solution of 5.0 mL APTES, 70.0 mL toluene and 0.1 vol% triethylamine and allowed to react overnight at 80°C. The substrates were rinsed with toluene, acetone and methanol, before being dried under a stream of nitrogen.
Maleimide-functionalization of (APTES) Si wafer. The APTES-functionalized Si substrate was immersed in 55 mM DCM solution of TEA. Equal volume of a 50 mM solution of 4-maleimidobutyroyl chloride in dry dichloromethane was added subsequently under inert atmosphere. The reaction was allowed to proceed for 4 h. The surfaces were rinsed with dichloromethane, methanol and Milli Q water and left in a petri dish with methanol overnight. Next, the surfaces were rinsed with THF, methanol and Milli Q water.
Photo-patterning of DoPAT-PE (7′) on the maleimide-functionalized Si wafer (6). The substrate was immersed in a 11 mM solution of DoPAT-PE (7′) in acetonitrile, and subsequently degassed by purging with nitrogen for 20 minutes. Next, the wafer was irradiated for 2.5 h (UV lamp: ARIMED B6, λ max = 320 nm). Subsequently, the wafer was rinsed thoroughly with THF, acetone, methanol and Milli Q water and dried under a stream of nitrogen.
Grafting-from polymerization of butylvinylbenzylimidazolium chloride (1). The DoPAT-PE-functionalized substrate 7 was placed in a vial and flushed with argon for 5 minutes. A solutiondegassed via three consecutive freeze-pump-thaw cyclesof 5.55 g butylvinylbenzylimidazolium chloride (1) (20.1 mmol, 1500 eq.), 4.7 mg DoPAT (0.0134 mmol, 1.00 eq.) and 3.3 mg VAZO-88 (0.0134 mmol, 1.00 eq.) was added to the wafer and the vial placed in a preheated custom-built heating block at 85°C. After 7 h, the polymerization was stopped by sudden cooling in liquid nitrogen and bubbled with air. The solution was dialyzed in deionized water for 3 d and freeze-dried afterwards. The wafer was rinsed thoroughly with Milli Q water, methanol, acetone and Milli Q water again and left in a petri dish with methanol overnight. The wafer was again rinsed with Milli Q water, methanol and Milli Q water and left for another 24 h in a petri dish with methanol. Subsequently, the wafer was rinsed with Milli Q water, methanol and Milli Q water and dried under a stream of nitrogen.
Reaction of PIL-grafted surface (8) with KMnO 4 . The PILgrafted surface was dipped into a 50 mM solution of KMnO 4 in water for 2 to 3 seconds. Subsequently, the surface was rinsed thoroughly with Milli Q water and dried under a stream of nitrogen.

Conclusions
In summary, we provide a useful and general synthetic tool to access imidazolium poly(ionic liquids) with styrenic IL monomer units i.e. p([BVBIM]Cl) and p([BVBIM]Tf 2 N) via the RAFT polymerization technique. The mass spectrometric indepth characterization of poly(ionic liquid)s is described giving a detailed account of the molecular structure of these polyelectrolytes. In addition, we present a light-induced photoenol driven avenue to provide spatially resolved functional interfaces. The results of our contribution will facilitate access to the discussed class of poly(ionic liquid)s to further understand their molecular weight dependent physical properties and functions. The surface patterning method can be applied to develop task-specific interfaces.