The legislative branch was established by the Constitution and consists of the House of Representatives and the Senate, which together form the United States Congress. The judicial branch is established by Article 3 and judges are confirmed by the President, though Congress determines the structure of federal courts. The executive branch's power is vested in the President, who is both head of state and head of the executive branch, and is responsible for enforcing the law.