He predicted a mystery while built a hidden treasure in a library of ancient books.