I am a federalist, and to keep the federalist party in charge, we need to somehow stop people from joining their party.
I know! Lots of immigrants could possibly be democratic republicans; so I have make sure they can't vote!
John Adams passed a law called the Alien Act. To keep immigrants from joining the opposing political party, he made it harder for them to enter the country and the immigrants already in the U.S. could not vote for a longer period of time than previously.
Now where do we go?
This is unconstitutional! I live in the United States and can't vote!
The Alien Act is a factor that led to the Nullification Crisis and partly led to John Adams unpopularity.