High expression of the transcriptional activator ComK occurs in 10-20% of the cells in stationary phase cultures of Bacillus subtilis strain 168. ComK drives the expression of more than 100 genes constituting the semidormant K-state, distinct from sporulation and vegetative growth. Among the genes so activated are those that permit competence for genetic transformation. We have addressed the origin of bistability in expression of ComK. We show that bistability requires positive autoregulation at the promoter of comK, but not a potential toggle switch, in which ComK represses the promoter of rok and Rok represses the promoter of comK. We further address the source of the noise that results in the stochastic selection of cells that will express comK. A revised model for the regulation of comK expression is proposed that partially explains bistability.