To the Senate and House of Representatives of the United States:
The act of Congress of the 10th of March, 1838, entitled "An act supplementary to an act entitled 'An act in addition to the act for the punishment of certain crimes against the United States and to repeal the acts therein mentioned,' approved 20th of April, 1818," expired by its own limitation on the 10th of March, 1840. The object of this act was to make further provision for preventing military expeditions or enterprises against the territory or dominions of any prince or state or of any colony, district, or people conterminous with the United States and with whom they are at peace, contrary to the act of April 20, 1818, entitled "An act in addition to the act for the punishment of certain crimes against the United States and to repeal the acts therein mentioned."
The act of Congress of March 10, 1838, appears to have had a very salutary effect, and it is respectfully recommended to Congress that it be now revived or its provisions be reenacted.
John Tyler, Special Message Online by Gerhard Peters and John T. Woolley, The American Presidency Project https://www.presidency.ucsb.edu/node/200950