Answer:
It was the Judiciary Act of 1801, and it was opposed by Thomas Jefferson, the next president of the United States.
Step-by-step explanation:
John Adams, the president under whom the act was passed, appointed 16 'midnight judges' in an attempt to keep the federalist party in power even after the election. Thomas Jefferson, an anti-federalist and the next president, was naturally opposed to the act.
Let me know if I'm supposed to go more in depth.