In politics, gridlock or deadlock or political stalemate refers to a situation when there is difficulty passing laws that satisfy the needs of the people. A government is gridlocked when the ratio between bills passed and the agenda of the legislature decreases. Laws may be considered as the supply and the legislative agenda as demand. Gridlock can occur when two legislative houses, or the executive branch and the legislature are controlled by different political parties, or otherwise cannot agree.