Visiting his
alma mater on September 2, 1837, Vail happened to witness one of
Samuel Morse's early telegraph experiments. He became fascinated by the technology and negotiated an arrangement with Morse to develop the technology at
Speedwell Ironworks, at his own expense, in return for 25% of the proceeds. Alfred split his share with his brother George Vail. After having secured his father's financial backing, and being a skilled machinist, Vail refined Morse's crude prototype telegraph to make it suitable for public demonstration and commercial operation. The first successful completion of a transmission with this system was at the Speedwell Iron Works on January 6, 1838, across two miles (3 km) of wire. The message read "A patient waiter is no loser." Over the next few months Morse and Vail demonstrated the telegraph to Philadelphia's
Franklin Institute, members of Congress, and President
Martin Van Buren and his cabinet. Demonstrations such as these were crucial to Morse's obtaining a Congressional appropriation of $30,000 to build his first line in 1844 from Washington to Baltimore. ==Retirement from telegraphy==