It's called a Sugar Devil (I did err I meant to say 1800's not 18 century sorry for throwing you off)
Used to break up sugar in large casks, sometimes fruit as well.
And before they had "cubed" sugar you would use one of these to get a piece for your coffee. Sugar nippers. Sweet huh?