Key element in the phosphorelay regulating sporulation initiation. Phosphorylation of spo0B during sporulation initiation (By similarity). Binds 1 Mg(2+) ion per subunit. Phosphorylated by KinA and KinB.