 In late 19th century, a new judge arrives in a Bulgarian town, Soon thereafter, four of his friends also come in with the knowledge that a golden treasure, once belonging to a Turkish ruler, is buried in the vicinity. They need the gold in order to arm the fighters for the Union of Bulgaria. But other people are also in search of treasure.