That is often called separation of powers and attributed to Madison BUT that separation was often considered to be the Monarchy is represented by the one President or Executive, The democracy or people are represented by the House and the Aristocracy is represented by the upper house or Senate.
For a long time in the Colonies, the judicial was simply an arm of the legislative or the Executive branch.
Best source is the work of Gordon Wood.