Abstract Bromination and iodation of 2-(alkenylthio) pyrimidin-6-ones occur selectively and lead to formation of the corresponding 7-oxo-2, 3-dihydrothiazolopyrimidinium or 8-oxo-3, 4- dihydro-2H-pyrimidothiazinium salts. The selectivity of the reaction is controlled by the