The court was told that Petersen suffered from a range of sexual deviances.