It also passed the Alien and Sedition Acts, intended to frighten foreign agents out of the country and to stifle the attacks of Republican editors.