In 19th century, a new judge and four of his friends come in Bulgarian town with the knowledge that a golden treasure, once belonging to a Turkish ruler, is buried in the vicinity. But other people are also in search of treasure.