The earliest mention of a Jew in Massachusetts bears the date May 3, 1649, and there are references to Jews among the inhabitants of Boston in 1695 and 1702; but they can be regarded only as stragglers, as no settlers made their homes in Massachusetts until the Revolutionary War drove the Jews from Newport. In 1777, Aaron Lopez and Jacob Rivera, with fifty-nine others, went from Newport to Leicester, and established themselves there; but this settlement did not survive the close of the war. A number of Jews, including the Hays family, settled at Boston before 1800. Of these Moses Michael Hays was the most important. In 1830, a number of Algerian Jews went to Boston, but they soon disappeared. The history of the present community begins with 1840, when the first congregation was established.