Which of the following is an example of a check on the power of the legislative branch?
The Supreme Court rules a law unconstitutional.

The House of Representatives fails to pass a bill.

The president signs a new spending bill into law.

The Senate approves a foreign treaty agreement.