Answer:
Okay, so I have this same question and let me tell you the answer it is 1000% correct. I have the Texas History book (look on page 362) it says:
The invention of the telegraph in the 1840s transformed communications.
It LITERALLY just gave you the answer. The answer is even highlighted in yellow.
your welcome.