Question: When did the state which lies to the East of Lake Ontario become a state?

full_context: Document 1: Great Lakes: The Great Lakes (French: les Grands - Lacs), also called the Laurentian Great Lakes and the Great Lakes of North America, are a series of interconnected freshwater lakes located primarily in the upper mid-east region of North America, on the Canada -- United States border, which connect to the Atlantic Ocean through the Saint Lawrence River. They consist of Lakes Superior, Michigan, Huron (or Michigan -- Huron), Erie, and Ontario.
Document 2: Battles of Saratoga: Burgoyne's strategy to divide New England from the southern colonies had started well but slowed due to logistical problems. He won a small tactical victory over General Horatio Gates and the Continental Army in the September 19 Battle of Freeman's Farm at the cost of significant casualties. His gains were erased when he again attacked the Americans in the October 7 Battle of Bemis Heights and the Americans captured a portion of the British defenses. Burgoyne was therefore compelled to retreat, and his army was surrounded by the much larger American force at Saratoga, forcing him to surrender on October 17. News of Burgoyne's surrender was instrumental in formally bringing France into the war as an American ally, although it had previously given supplies, ammunition, and guns, notably the de Valliere cannon which played an important role in Saratoga. This battle also resulted in Spain joining France in the war against Britain.
Document 3: American Revolution: The Continental Army forced the redcoats out of Boston in March 1776, but that summer the British captured and held New York City and its strategic harbor for the duration of the war. The Royal Navy blockaded ports and captured other cities for brief periods, but they failed to defeat Washington's forces. The Patriots unsuccessfully attempted to invade Canada during the winter of 1775 -- 76, but successfully captured a British army at the Battle of Saratoga in October 1777. France now entered the war as an ally of the United States with a large army and navy that threatened Britain itself. The war turned to the American South where the British under the leadership of Charles Cornwallis captured an army at Charleston, South Carolina in early 1780 but failed to enlist enough volunteers from Loyalist civilians to take effective control of the territory while fighting partisans. A combined American -- French force captured a second British army at Yorktown in the fall of 1781, effectively ending the war in North America. The Treaty of Paris, signed September 3, 1783, formally ended the conflict, confirming the new nation's complete separation from the British Empire. The United States took possession of nearly all the territory east of the Mississippi River and south of the Great Lakes, with the British retaining control of Canada and Spain taking Florida.
Document 4: New York (state): About one - third of the battles of the American Revolutionary War took place in New York; the first major battle after U.S. independence was declared -- and the largest battle of the entire war -- was fought in New York at the Battle of Long Island (a.k.a. Battle of Brooklyn) in August 1776. After their victory, the British occupied New York City, making it their military and political base of operations in North America for the duration of the conflict, and consequently the focus of General George Washington's intelligence network. On the notorious British prison ships of Wallabout Bay, more American combatants died of intentional neglect than were killed in combat in every battle of the war combined. Both sides of combatants lost more soldiers to disease than to outright wounds. The first of two major British armies were captured by the Continental Army at the Battle of Saratoga in 1777, a success that influenced France to ally with the revolutionaries. The state constitution was enacted in 1777. New York became the 11th state to ratify the United States Constitution, on July 26, 1788.
Document 5: American Revolutionary War: British attempts to disarm the Massachusetts militia at Concord in April 1775 led to open combat. Militia forces then besieged Boston, forcing a British evacuation in March 1776, and Congress appointed George Washington to command the Continental Army. Concurrently, an American attempt to invade Quebec and raise rebellion against the British decisively failed. On July 2, 1776, the Continental Congress voted for independence, issuing its declaration on July 4. Sir William Howe launched a British counter-offensive, capturing New York City and leaving American morale at a low ebb. However, victories at Trenton and Princeton restored American confidence. In 1777, the British launched an invasion from Quebec under John Burgoyne, intending to isolate New England. Instead of assisting this effort, Howe took his army on a separate campaign against Philadelphia, and Burgoyne was decisively defeated at Saratoga in October 1777.
Document 6: American Revolution: The Continental Army forced the British out of Boston in 1776, but the British captured and held New York City for the duration of the war. The British blockaded ports and captured other cities for brief periods, but they failed to defeat Washington's forces. The Patriots unsuccessfully attempted to invade Canada during the winter of 1775 -- 76, but they captured a British army at the Battle of Saratoga in late 1777, and the French entered the war as allies of the United States as a result. The war later turned to the American South where the British under the leadership of Charles Cornwallis captured an army at South Carolina but failed to enlist enough volunteers from Loyalist civilians to take effective control of the territory. A combined American -- French force captured a second British army at Yorktown in 1781, effectively ending the war in the United States. The Treaty of Paris in 1783 formally ended the conflict, confirming the new nation's complete separation from the British Empire. The United States took possession of nearly all the territory east of the Mississippi River and south of the Great Lakes, with the British retaining control of Canada and Spain taking Florida.
Document 7: Lake Ontario: Lake Ontario is one of the five Great Lakes of North America. It is surrounded on the north, west, and southwest by the Canadian province of Ontario, and on the south and east by the American state of New York, whose water boundaries meet in the middle of the lake. Ontario, Canada's most populous province, was named for the lake. Many of Ontario's most populous cities, including Toronto, Canada's most populous city, and Hamilton, are on the lake's northern or western shores. In the Huron language, the name Ontarí'io means "Lake of Shining Waters". Its primary inlet is the Niagara River from Lake Erie.  The last in the Great Lakes chain, Lake Ontario serves as the outlet to the Atlantic Ocean via the Saint Lawrence River. It is the only Great Lake not to border the state of Michigan.
Document 8: Lake Ontario: Lake Ontario (French: Lac Ontario) is one of the five Great Lakes of North America. It is surrounded on the north, west, and southwest by the Canadian province of Ontario, and on the south and east by the American state of New York, whose water boundaries meet in the middle of the lake. Ontario, Canada's most populous province, was named for the lake. In the Wyandot (Huron) language, ontarío means ``Lake of Shining Waters ''. Its primary inlet is the Niagara River from Lake Erie. The last in the Great Lakes chain, Lake Ontario serves as the outlet to the Atlantic Ocean via the Saint Lawrence River.
Document 9: Great Lakes: Though the five lakes reside in separate basins, they form a single, naturally interconnected body of fresh water, within the Great Lakes Basin. The lakes form a chain connecting the east - central interior of North America to the Atlantic Ocean. From the interior to the outlet at the Saint Lawrence River, water flows from Superior to Huron and Michigan, southward to Erie, and finally northward to Lake Ontario. The lakes drain a large watershed via many rivers, and are studded with approximately 35,000 islands. There are also several thousand smaller lakes, often called ``inland lakes, ''within the basin. The surface area of the five primary lakes combined is roughly equal to the size of the United Kingdom, while the surface area of the entire basin (the lakes and the land they drain) is about the size of the UK and France combined. Lake Michigan is the only one of the Great Lakes that is located entirely within the United States; the others form a water boundary between the United States and Canada. The lakes are divided among the jurisdictions of the Canadian province of Ontario and the U.S. states of Michigan, Wisconsin, Minnesota, Illinois, Indiana, Ohio, Pennsylvania, and New York. Both Ontario and Michigan include in their boundaries portions of four of the lakes: Ontario does not border Lake Michigan, and Michigan does not border Lake Ontario. New York and Wisconsin's jurisdictions extend into two lakes, and the remaining states into one of the lakes.
Document 10: Saint Lawrence River: The Saint Lawrence River (French: Fleuve Saint - Laurent; Tuscarora: Kahnawáʼkye; Mohawk: Kaniatarowanenneh, meaning ``big waterway '') is a large river in the middle latitudes of North America. The Saint Lawrence River flows in a roughly north - easterly direction, connecting the Great Lakes with the Atlantic Ocean and forming the primary drainage outflow of the Great Lakes Basin. It traverses the Canadian provinces of Quebec and Ontario, and is part of the international boundary between Ontario, Canada, and the U.S. state of New York. This river also provides the basis of the commercial Saint Lawrence Seaway.
Document 11: Military history of the United States: The British, for their part, lacked both a unified command and a clear strategy for winning. With the use of the Royal Navy, the British were able to capture coastal cities, but control of the countryside eluded them. A British sortie from Canada in 1777 ended with the disastrous surrender of a British army at Saratoga. With the coming in 1777 of General von Steuben, the training and discipline along Prussian lines began, and the Continental Army began to evolve into a modern force. France and Spain then entered the war against Great Britain as Allies of the US, ending its naval advantage and escalating the conflict into a world war. The Netherlands later joined France, and the British were outnumbered on land and sea in a world war, as they had no major allies apart from Indian tribes.
Document 12: Battle of Long Island: The Battle of Long Island is also known as the Battle of Brooklyn and the Battle of Brooklyn Heights. It was fought on August 27, 1776 and was the first major battle of the American Revolutionary War to take place after the United States declared its independence on July 4, 1776. It was a victory for the British Army and the beginning of a successful campaign that gave them control of the strategically important city of New York. In terms of troop deployment and fighting, it was the largest battle of the entire war.
Document 13: American Revolutionary War: British attempts to disarm the Massachusetts militia at Concord in April 1775 led to open combat. Militia forces then besieged Boston, forcing a British evacuation in March 1776, and Congress appointed George Washington to command the Continental Army. Concurrently, an American attempt to invade Quebec and raise rebellion against the British failed decisively. On July 2, 1776, the Continental Congress voted for independence, issuing its declaration on July 4. Sir William Howe launched a British counter-offensive, capturing New York City and leaving American morale at a low ebb. However, victories at Trenton and Princeton restored American confidence. In 1777, the British launched an invasion from Quebec under John Burgoyne, intending to isolate the New England Colonies. Instead of assisting this effort, Howe took his army on a separate campaign against Philadelphia, and Burgoyne was decisively defeated at Saratoga in October 1777.
Document 14: Great Lakes: Though the five lakes lie in separate basins, they form a single, naturally interconnected body of fresh water, within the Great Lakes Basin. They form a chain connecting the east - central interior of North America to the Atlantic Ocean. From the interior to the outlet at the Saint Lawrence River, water flows from Superior to Huron and Michigan, southward to Erie, and finally northward to Lake Ontario. The lakes drain a large watershed via many rivers, and are studded with approximately 35,000 islands. There are also several thousand smaller lakes, often called ``inland lakes, ''within the basin. The surface area of the five primary lakes combined is roughly equal to the size of the United Kingdom, while the surface area of the entire basin (the lakes and the land they drain) is about the size of the UK and France combined. Lake Michigan is the only one of the Great Lakes that is located entirely within the United States; the others form a water boundary between the United States and Canada. The lakes are divided among the jurisdictions of the Canadian province of Ontario and the U.S. states of Michigan, Wisconsin, Minnesota, Illinois, Indiana, Ohio, Pennsylvania, and New York. Both Ontario and Michigan include in their boundaries portions of four of the lakes: Ontario does not border Lake Michigan, and Michigan does not border Lake Ontario. New York and Wisconsin's jurisdictions extend into two lakes, and each of the remaining states into one of the lakes.
Document 15: Lake Superior: Lake Superior is the largest of the Great Lakes of North America. The lake is shared by the Canadian province of Ontario to the north, the US state of Minnesota to the west, and Wisconsin and the Upper Peninsula of Michigan to the south. It is generally considered the largest freshwater lake in the world by surface area. It is the world's third - largest freshwater lake by volume and the largest by volume in North America. The furthest north and west of the Great Lakes chain, Superior has the highest elevation and drains into the St. Mary's River.
ground_truth: July 26, 1788
sub_queries: What state lies to the east of Lake Ontario? Answer: New York
when did New York state became a state Answer: July 26, 1788