United States Congress
This act, also knows as the Alien Friends Act, authorized the president to deport any resident alien considered "dangerous to the peace and safety of the United States." It was enacted on June 25, 1798, and had a two-year expiration date.
The American public
To authorize the president to deport any alien considered dangerous—in either war or peacetime
Under the Alien Friends and Alien Enemies Acts, the president could deport any "dangerous" or "enemy" alien.
SECTION 1. Be it enacted by the Senate and House of Representatives of the United States of America, in Congress assembled, That it shall be lawful for the President of the United States, at any time during the continuance of this act, to order all such aliens as he. shall judge dangerous to the peace and safety of the United States, or shall have reasonable grounds to suspect are concerned in any treasonable or secret machinations against the government thereof, to depart out of the territory of the United States within such time as shall be expressed in such order; which order shall be served on such alien, by delivering him a copy thereof, or leaving the same at his usual abode, and returned to the office of the Secretary of State, by the marshal, or other person, to whom the same shall be directed. And in case any alien, so ordered to depart, shall be found at large within the United States after the time limited in such order for his departure, and not having obtained a license from the President to reside therein, or having obtained such license, shall not have conformed thereto, every such alien shall, on conviction thereof, be imprisoned for a term not exceeding three years, and shall never after be admitted to become a citizen of the United States…
SECT. 2. And be it further enacted, That it shall be lawful for the President of the United States, whenever he may deem it necessary for the public safety, to order to be removed out of the territory thereof any alien who may or shall be in prison in pursuance of this act; and to cause to be arrested and sent out of the United States such of those aliens as shall have been ordered to depart therefrom, and shall not have obtained a license as aforesaid, in all cases where, in the opinion of the President, the public safety requires a speedy removal. And if any alien so removed or sent out of the United States by the President shall voluntarily return thereto, unless by permission of the President of the United States, such alien, on conviction thereof, shall be imprisoned so long as, in the opinion of the President, the public safety may require.