The Alien Enemies Act of 1798 is a federal law that gives the President authority to apprehend, restrain, imprison, or deport non-citizens from enemy nations during times of war or declared hostilities.