Roro Jonggrang was a beautiful woman who many men wanted to marry, including Bandung Bondowoso who had supernatural powers. She agreed to marry him if he could build one thousand temples in one night. Bandung used his powers to build many temples quickly, but Roro Jonggrang had villagers wake their roosters to trick Bandung into thinking morning had come, stopping his work short of one thousand temples. In retaliation, Bandung transformed Roro Jonggrang into a statue to complete the one thousandth temple.