In the Marbury v. Madison case, the supreme court established its power to declare legislation and executive acts unconstitutional.
This was known as the principle of judicial review that was established in 1803.
Chief justice john Marshall was the one heading the case and he came up with the unanimously agreed opinion, that had a decision which was to check legislative/ executive acts.