Farquhar got hung because he attempted to help the Confederacy during the Civil War. He was most likely set up to commit this breach and was caught by a Union spy who came by his house.