Question: 6th was a regiment at the battle that involved which deposed English king?
Context: The 6th (Inniskilling) Dragoons was a cavalry regiment in the British Army, first raised in 1689 as Sir Albert Cunningham's Regiment of Dragoons.  One of the regiment's most notable battles was the Battle of the Boyne in July 1690.  It became the 6th (Inniskilling) Regiment of Dragoons in 1751.  The regiment also fought with distinction in the Charge of the Union Brigade at the Battle of Waterloo and again as part of the successful Charge of the Heavy Brigade against superior numbers at the Battle of Balaclava during the Crimean War.  The First World War sounded the death knell for mounted cavalry as it became apparent that technology had moved forward with greater destructive power and made horsed cavalry redundant on the modern battlefield.  The British Army reorganised and reduced its cavalry corps by disbanding or amalgamating many of its famous cavalry regiments.  The Inniskillings was one of those affected.  It saw service for two centuries, including the First World War, before being amalgamated with 5th (Princess Charlotte of Wales's) Dragoon Guards to form 5th/6th Dragoons in 1922. The 6th Connecticut Regiment was raised on May 1, 1775, at New Haven, Connecticut, as a provincial regiment for the Continental Army.  It then became a regiment of the Continental Line on January 1, 1776, designated the 10th Continental Regiment, and a regiment of the Connecticut Line on January 1, 1777, again designated the 6th Connecticut.  The regiment saw action at the siege of Boston, the Battle of Long Island, the New York Campaign, and its colonel and company of light infantry served in the Corps of Light Infantry at the Battle of Stony Point.  The regiment was merged into the 1st Connecticut Regiment on January 1, 1783, at West Point, New York and disbanded on November 16, 1783. The 6th Light Horse Regiment was a mounted infantry regiment of the Australian Army during the First World War.  The regiment was raised in September 1914, and assigned to the 2nd Light Horse Brigade.  The regiment fought against the forces of the German Empire and the Ottoman Empire, in Egypt, at Gallipoli, on the Sinai Peninsula, and in Palestine and Jordan.  After the armistice the regiment eventually returned to Australia in March 1919.  For its role in the war the regiment was awarded sixteen battle honours.  During the inter-war years, the regiment was re-raised as a part-time unit based in New South Wales, adopting the designation of the "New South Wales Mounted Rifles".  It was later converted to a motor regiment during the early years of the Second World War before being redesignated as an armoured car regiment.  Nevertheless, it was disbanded in early 1943 without having been deployed overseas.  During the post war years, the regiment was re-raised as part of the Citizens Military Force, and in 1956 was converted into an infantry unit, and in 1960 was subsumed into the Royal New South Wales Regiment. The 13th Massachusetts Regiment, also known as the 6th Continental Regiment and Jonathan Brewer's Regiment, was first raised in 1775 by Colonel Jonathan Brewer.  Under Colonel Edward Wigglesworth in 1776 it was designated the 6th Continental.  It was manned with troops raised primarily from Essex, York, and Cumberland Counties.  An additional battalion was later raised from Middlesex, Suffolk, Plymouth and Barnstable Counties.  The regiment would see action at the Battle of Bunker Hill, Battle of Valcour Island, Battle of Saratoga, Battle of Monmouth and the Battle of Rhode Island.  The regiment was disbanded on January 1, 1781, at West Point, New York.  The Light Infantry Company fought at the Battle of Stony Point The Carabiniers (6th Dragoon Guards) was a cavalry regiment of the British Army.  It was formed in 1685 as the Lord Lumley's Regiment of Horse.  It was renamed as His Majesty's 1st Regiment of Carabiniers in 1740, the 3rd Regiment of Horse (Carabiniers) in 1756 and the 6th Regiment of Dragoon Guards in 1788.  After two centuries of service, including the First World War, the regiment was amalgamated with the 3rd Dragoon Guards (Prince of Wales's) to form the 3rd/6th Dragoon Guards in 1922. The 37th Field Artillery Regiment is a field artillery regiment of the United States Army, and parent regiment under the U.S. Army Regimental System.  The regiment was first constituted 5 July 1918 in the National Army.  The regiment served with the 10th Division during World War I, and the 2nd Infantry Division during World War II.  Elements of the regiment have served with the 2nd Infantry Division, 6th Infantry Division, 79th Infantry Division, and 172nd Infantry Brigade, among other units.  Two battalions of the regiment are currently active, the 1st Battalion, 37th Field Artillery is the direct support cannon battalion, in support of the 1st Stryker Brigade Combat Team, 2nd Infantry Division and the 6th Battalion, 37th Field Artillery is a Multiple Launch Rocket System battalion in the 210th Field Artillery Brigade. The 2/6th Cavalry Commando Regiment was a cavalry regiment of the Australian Army that served during the Second World War and was later converted into a commando unit.  Formed at Ingleburn, New South Wales, in November 1939, it was originally raised as an armoured reconnaissance regiment attached to the 6th Division.  In that role, the 2/6th saw action in the North Africa campaign and in the Middle East during 1940–41, where the regiment distinguished itself at Bardia, Tobruk and in Syria.  Later, following Japan's entry into the war, the 6th Division was brought back to Australia and following a re-organisation, the regiment was converted into a cavalry commando regiment, incorporating the independent companies that had been formed at the start of the war.  In late 1944, the 2/6th Cavalry Commando Regiment was deployed to New Guinea, where it participated in one of the final Australian campaigns of the war in the Aitape–Wewak area. The Battle of the Boyne (Irish: "Cath na Bóinne" ] ) was a battle in 1690 between the forces of the deposed King James II of England, and those of Dutch Prince William of Orange who, with his wife Mary II (his cousin and James's daughter), had acceded to the Crowns of England and Scotland in 1688.  The battle took place across the River Boyne near the town of Drogheda in the east of Ireland, and resulted in a victory for William.  This turned the tide in James's failed attempt to regain the British crown and ultimately aided in ensuring the continued Protestant ascendancy in Ireland. The Battle of Chunuk Bair (Turkish: Conk Bayırı Muharebesi ) was a World War I battle fought between the Ottoman defenders and troops of the British Empire.  British units that reached the summit of Chunuk Bair early on 8 August 1915 to engage the Turks were the Wellington Battalion of the New Zealand and Australian Division, 7th Battalion, Gloucestershire Regiment and 8th Battalion, Welch Regiment of the 13th (Western) Division.  The troops were reinforced in the afternoon by two squads of the Auckland Mounted Rifles Regiment, New Zealand and Australian Division.  The first troops on summit were severely depleted by Ottoman return fire and were relieved at 10:30 pm on 8 August by the Otago Battalion (NZ), and the Wellington Mounted Rifles Regiment New Zealand and Australian Division.  The New Zealand troops were relieved by 8:00 pm on 9 August by the 6th Battalion, Loyal North Lancashire Regiment and 5th Battalion, Wiltshire Regiment, who were massacred and driven off the summit in the early morning of 10 August, by an Ottoman counter-attack led by Mustafa Kemal.  The capture of Chunuk Bair, (Turkish: "Çanak Bayır" Basin Slope, now "Conk Bayırı"), the secondary peak of the Sari Bair range, was one of the two objectives of the Battle of Sari Bair, the British August Offensive at Anzac Cove and Suvla, to try to break the stalemate that the campaign had become.  The capture of Chunuk Bair was the only success for the Allies of the campaign but it was fleeting as the position proved untenable.  The Ottomans recaptured the peak for good a few days later. The 6th Jat Light Infantry were an infantry regiment of the Bengal Army, later of the united British Indian Army.  They could trace their origins to 1803, when they were the 1st Battalion, 22nd Bengal Native Infantry.  Over the years they were known by a number of different names the 43rd Bengal Native Infantry 1824–1842, the 43rd Bengal Native (Light) Infantry 1842–1861, the 6th Bengal Native (Light) Infantry 1861–1897 and finally after the Kitchener reforms of the Indian Army the 6th Jat Bengal (Light) Infantry.  The regiment was involved in the First Anglo-Afghan War, the First Anglo-Sikh War, the Second Anglo-Afghan War, the Boxer Rebellion and World War I.  After World War I the Indian Government reformed the army moving from single battalion regiments to multi battalion regiments.  The 6th Jat Light Infantry became the new 1st Battalion, 9th Jat Regiment.  After India gained independence they were one of the regiments allocated to the Indian Army.
Answer: King James II