what document created the three branches of government?

Answer :

Answer: The constitution created the three branches of government. James Madison wrote the 7 seven articles of it. Article 1 set up the legislative branch or congress.

Explanation: hope this helps ;)