When was the Constitution?

The Constitution was written in 1787, ratified in 1788, and went into full effect in 1789. It is still in effect today. The Constitution is the only written document that determines which branches of government have which powers.