Question: The 2nd New Jersey Regiment saw action in the last major battle of what war in the North American theater?
Context: The 2nd Continental Light Dragoons, also known as Sheldon's Horse after Colonel Elisha Sheldon, was commissioned by the Continental Congress on December 12, 1776, and was first mustered at Wethersfield, Connecticut, in March 1777 for service with the Continental Army.  The regiment consisted of four troops from Connecticut, one troop each largely from Massachusetts and New Jersey, and two companies of light infantry.  The regiment saw action at the Battle of Woodbridge, Battle of Brandywine, Battle of Kingston, Battle of Schoharie, The Battle of The Flocky (site of the first cavalry charge on American soil), Battle of Paoli, Battle of Whitemarsh, Battle of Morrisania, Battle of Saratoga, Battle of Germantown, and the Battle of Yorktown. The 502nd Infantry Regiment (502nd INF), previously titled the 502nd Parachute Infantry Regiment (502nd PIR), is an airborne infantry regiment of the United States Army.  The regiment was established shortly after the American entry into World War II, and was assigned as a regiment of the 101st Airborne Division, "The Screaming Eagles", one of the most decorated formations of the U.S. Army.  The regiment saw substantial action in the European Theater of World War II and was deactivated in 1945, shortly after the end of the war.  Reactivating in a new form in 1956, the 502nd Infantry has served in the Vietnam War, the first Gulf War, Operation Iraqi Freedom, Operation Enduring Freedom in Afghanistan, and Operation Inherent Resolve in Iraq.  It was removed from parachute status with the rest of the 101st Airborne Division in 1969, and since 1974, the regiment has been classified as an Air Assault unit.  Currently, its 1st and 2nd battalions are active.  Both battalions are assigned to the 2nd Brigade Combat Team, 101st Airborne Division (Air Assault). The 7th Continental Regiment, also known as Prescott's Regiment, was raised April 23, 1775, as a Massachusetts militia regiment at Cambridge, Massachusetts, under Colonel William Prescott.  The regiment would join the Continental Army in June 1775.  The regiment saw action during the Siege of Boston and the New York Campaign.  On January 1, 1777, the regiment was disbanded and volunteers from the regiment joined the 2nd Massachusetts Regiment. The 2nd New Jersey Regiment was raised, on 9 October 1775, at Trenton, New Jersey, for service with the Continental Army under the command of Colonel William Maxwell.  The regiment would see action at the Battle of Trois-Rivières, Battle of Valcour Island, Battle of Brandywine, Battle of Germantown, Battle of Crooked Billet, Battle of Monmouth, Sullivan Expedition, Battle of Springfield and the Battle of Yorktown.  The regiment was furloughed, on 6 June 1783, at Newburgh, New York, and disbanded 3 November 1783. The 3rd New Jersey Regiment was raised on January 1, 1776, at Elizabethtown, New Jersey for service with the Continental Army.  The regiment saw action at the Battle of Valcour Island, New York Campaign, Battle of Brandywine, Battle of Germantown, Battle of Monmouth, Sullivan Expedition and the Battle of Springfield.  The regiment was disbanded on January 1, 1781, at Pompton, New Jersey. The 2nd Regiment Massachusetts Volunteer Infantry was an infantry regiment that saw extensive federal service in the Union Army during the American Civil War.  The regiment saw action at the Battle of Antietam and the Battle of Gettysburg. The Divisional Cavalry Regiment (Div Cav), was an armoured cavalry regiment of the 2nd New Zealand Division during the Second World War and was New Zealand's first armoured unit.  It served as a reconnaissance force for the 2nd New Zealand Division.  Formed on 29 September 1939, the regiment embarked for Egypt on 4 January 1940.  It fought with the division, as part of the 2nd New Zealand Expeditionary Force, in Greece, Crete, North Africa and Italy.  The regiment formed part of J Force, New Zealand's contribution to the occupation of Japan at the end of the war. The 2nd Albany County Militia Regiment was the local militia unit for Schenectady, New York, during the American Revolutionary War under the command of Colonel Abraham Wemple.  The regiment saw action with the Continental Army in 1777 at the Battle of Saratoga in General John Glover's brigade.  It was called out to fight against the loyalist and their Indian allies at the Battle of Klock's Field on October 19, 1780, and Battle of Johnstown on October 25, 1781.  A member from the 2nd Albany may have been the person who killed the Loyalist officer Walter Butler of Butler's Rangers on October 30, 1781, during a skirmish. The Siege of Yorktown, also known as the Battle of Yorktown, the Surrender at Yorktown, German Battle or the Siege of Little York, ending on October 19, 1781, at Yorktown, Virginia, was a decisive victory by a combined force of American Continental Army troops led by General George Washington and French Army troops led by the Comte de Rochambeau over a British Army commanded by British peer and Lieutenant General Charles Cornwallis.  The culmination of the Yorktown campaign, the siege proved to be the last major land battle of the American Revolutionary War in the North American theater, as the surrender by Cornwallis, and the capture of both him and his army, prompted the British government to negotiate an end to the conflict.  The battle boosted faltering American morale and revived French enthusiasm for the war, as well as undermining popular support for the conflict in Great Britain. The 1st Virginia Regiment was raised, on July 17, 1775, at Williamsburg, Virginia as a state militia unit and later for service with the (U.S.) Continental Army.  Its origins go back to the Charles City-Henrico County Regiment of Militia founded in 1652.  During the French and Indian War, the Virginia Regiment was commanded by Colonel George Washington.  The regiment saw action at the Battle of Great Bridge, New York Campaign, Battle of Trenton, Battle of Princeton, Battle of Brandywine, Battle of Germantown, Battle of Monmouth, Battle of Stony Point and the Siege of Charleston.  Most of the regiment was captured at Charlestown, South Carolina, on May 12, 1780, by the British and the regiment was formally disbanded on November 15, 1783.  The 276th Engineer Battalion is the successor to the 1st Virginia Regiment.
Answer: the American Revolutionary War