The same colour scheme is used in all figures throughout this manuscript. The σ-subunit, bridge helix, trigger loop and the remainder of the RNAP molecule are in blue, magenta, cyan and grey, respectively. The switch-2 segments in the Myx-free and Myx-bound structures are in orange and green, respectively. dMyx is in black. The Mg2+ ion is shown as magenta sphere. a, The overall view of the complex is shown. CC, coiled–coil; CH, clamp helices. b, Close-up view of the dMyx binding site. c, Sequence alignment of the switch-2 segment from bacterial (bsu, Bacillus subtilis; eco, E. coli; mtu, Mycobacterium tuberculosis; tt, T. thermophilus), archaeal (pfu, Pyrococcus furiosis) and yeast Saccharomyces cerevisiae pol II (scII) enzymes. Substitutions constructed in this work are shown above the sequence in green. d, Schematic drawing of the protein–dMyx interactions. The polar and van der Waals interactions are shown as solid arrows and dashed lines, respectively. The mutated residues are indicated by the red boxes. e, f, Conformations of the switch-2 segment in the Myx-free (e) and Myx-bound (f) holo-RNAP structures. In the panels d and e the E. coli residue numbers are shown in blue.