Pentecostalism inherited the Wesleyan doctrine of entire sanctification and outward holiness from its founders, who came from Wesleyan-influenced denominations of the post-American Civil War era. The rigid moral code associated with the holiness movement had been widely accepted by Pentecostals in the early twentieth century. Branham's strict moral code echoed the traditions of early Pentecostalism but became increasingly unpopular because he refused to accommodate mid-century Pentecostalism's shifting viewpoint. He denounced cigarettes, alcohol, television, rock and roll, and many forms of worldly amusement.