What was the initial purpose of the constitutional convention?

To ratify the constitution
To amend the constitution
To write the constitution
To amend the articles of confederation

To amend the articles of confederation