The timeline of events is:
1. Napoleonic Wars (II) began in 1799.
2. Victor Emmanuel II was proclaimed King of Italy (IV) in 1861.
3. The Treaty of Vienna (I), ending the Napoleonic Wars, was signed in 1815.
Therefore, the correct order is II, IV, and I.
Conclusion.
The correct answer is (D) II, IV, and I.