When he touched the wire they were connected to he shocked himself (discharged the capacitor). At the same time Pieter van Musschenbroek made a similar capacitor and named it the Leyden Jar. When Benjamin Franklin studied the Leyden Jar he determined, among other things, that the charge was stored on the glass.