By cyclization of 1,2-bis(2-pyridyl)ethanedione (I) with N-(1H-benzimidazol-2-yl)guanidine (II) by means of NaOH in methanol.