A run-in with the law nearly ended the band, just as they were about to enter their peak years.