The Judge and His Hangman is a 1950 novel by the Swiss writer Friedrich Dürrenmatt. This book is written in the detective genre. The protagonist, Hans Bärlach, investigates the murder of his best worker, Ulrich Schmied. The case involves a man named Gastmann, who happens to have known the main character before. One day they made an important bet, which caused all the troubles.