When Germans begun to call themselves a Deutsches?

Jul 2017
30
Israel/Russia
#1
As we know up to 1871 ancestors of nowadays Germans lived in different states.
How they called themselves in those times?
How Germans called themselves in 18 century?
Did they called themselves Deutsches or they used names derived from names of states like Prussians, Bavarians, Saxonians, et cetera?
When Germans begun to call themselves Deutsches en masse?