When was the Battle of Yorktown?

The battle of Yorktown took place in 1781. It was the last major battle in the American Revolutionary war. The three major countries involved were America, France and Britian.