The best explanation of the main purposes of the Declaration of Independence is:
The Declaration of Independence was intended to raise a military, gain foreign allies, and announce a new nation.
This option accurately reflects the goals of the Declaration, which included justifying the colonies' break from British rule, seeking support from foreign nations, and formally declaring the existence of the United States as an independent nation.