外国人・治安諸法
Lloyd was elected as a Federalist to the United States Senate to fill the vacancy caused by the resignation of John Henry and served from December 8, 1797 until December 1, 1800, when he resigned. On June 27, 1798, Lloyd introduced the Sedition Act of 1798, a part of the Alien and Sedition Acts.