Samuel Morse invented the telegraph, which was patented on June 20, 1840. He held patents for several other electromagnetic improvements, and was a fine artist as well. His political views were a non starter for me. He advocated for slavery, and was anti-immigration, among other things, but he did have some shining accomplishments in spite of that.
Here’s his Wikipedia article.