To decide who would become the monarch, six of them decided on a test, with Otanes abstaining, as he had no interest in being king. They were to gather outside the palace, mounted on their horses at sunrise, and the man whose horse neighed first in recognition of the rising sun would become king. According to Herodotus, Darius had a slave, Oebares, who rubbed his hand over the genitals of a mare that Darius favored. When the six gathered, Oebares placed his hands beside the nostrils of Darius's horse, who became excited at the scent and neighed. This was followed by lightning and thunder, leading the others to dismount and kneel before Darius in recognition of his apparent divine providence .  In this account, Darius himself favored that he achieved the throne not through fraud, but cunning, even erecting a statue of himself mounted on his neighing horse with the inscription: "Darius, son of Hystaspes, obtained the sovereignty of Persia by the sagacity of his horse and the ingenious contrivance of Oebares, his groom."