Screw on caps were invented in the 1850s.
whiskey bottles were corks only until after the prohibition. In america at least.