Answer:
Nine of the original thirteen states had to ratify the Constitution. In June 1788, New Hampshire fulfilled the requirement for ratification set forth in Article VII by becoming the ninth state to approve.
The Constitution didn't become law until it formally replaced the Articles of Confederation on March 4, 1789, however.