can you write me a 5-6 sentance paragraph on why the battle of yorktown in 1789 was beneificial for america?

The Battle of Yorktown in 1781 was incredibly beneficial for America as it marked the decisive victory that effectively ended the Revolutionary War. American forces, led by General George Washington, along with the help of French troops under General Rochambeau, successfully trapped British General Cornwallis and his army in Yorktown, Virginia. This defeat prompted the British government to finally acknowledge the independence of the United States and led to the signing of the Treaty of Paris in 1783. The victory at Yorktown paved the way for the establishment of a new sovereign nation and secured America's freedom from British rule. Additionally, the success at Yorktown boosted American morale and unity, helping to solidify the young nation's resolve and determination to defend its newfound independence.