The first known case was a failed attempt on Andrew Jackson 's life in 1835 , where both the assassin 's guns misfired due to moisture in the air , and Jackson then beat the culprit into submission with his cane .