In what year did the world's first solid chocolate bar go on sale?

History Trivia Question: In what year did the world's first solid chocolate bar go on sale?