Question: When did the city where the screenwriter of With the Mounted Police live when he died join the United States?

full_context: Document 1: New York City: The City of New York, often called New York City (NYC) or simply New York, is the most populous city in the United States. With an estimated 2017 population of 8,622,698 distributed over a land area of about 302.6 square miles (784 km), New York City is also the most densely populated major city in the United States. Located at the southern tip of the state of New York, the city is the center of the New York metropolitan area, the largest metropolitan area in the world by urban landmass and one of the world's most populous megacities, with an estimated 20,320,876 people in its 2017 Metropolitan Statistical Area and 23,876,155 residents in its Combined Statistical Area. A global power city, New York City has been described as the cultural, financial, and media capital of the world, and exerts a significant impact upon commerce, entertainment, research, technology, education, politics, tourism, and sports. The city's fast pace defines the term New York minute. Home to the headquarters of the United Nations, New York is an important center for international diplomacy.
Document 2: With the Mounted Police: With the Mounted Police is a 1912 American silent short romantic thriller film written by Lloyd Lonergan. The films stars William Garwood as a Mounted Police Officer and Mignon Anderson his sweetheart.
Document 3: The Stronger Love: The Stronger Love is a 1916 American drama silent film directed by Frank Lloyd, written by Julia Crawford Ivers, and starring Vivian Martin, Edward Peil, Sr., Frank Lloyd, Jack Livingston, Alice Knowland and Herbert Standing. It was released on August 13, 1916, by Paramount Pictures.
Document 4: At the Foot of the Ladder: At the Foot of the Ladder is a 1912 American silent short romantic comedy written by Lloyd Lonergan. The film starred Mignon Anderson, William Garwood, Carey L. Hastings, Harry Chamberlain, and Riley Chamberlain.
Document 5: New York City: Situated on one of the world's largest natural harbors, New York City consists of five boroughs, each of which is a separate county of New York State. The five boroughs – Brooklyn, Queens, Manhattan, the Bronx, and Staten Island – were consolidated into a single city in 1898. With a census-estimated 2014 population of 8,491,079 distributed over a land area of just 305 square miles (790 km2), New York is the most densely populated major city in the United States. As many as 800 languages are spoken in New York, making it the most linguistically diverse city in the world. By 2014 census estimates, the New York City metropolitan region remains by a significant margin the most populous in the United States, as defined by both the Metropolitan Statistical Area (20.1 million residents) and the Combined Statistical Area (23.6 million residents). In 2013, the MSA produced a gross metropolitan product (GMP) of nearly US$1.39 trillion, while in 2012, the CSA generated a GMP of over US$1.55 trillion, both ranking first nationally by a wide margin and behind the GDP of only twelve and eleven countries, respectively.
Document 6: New York (state): New York covers 54,555 square miles (141,300 km) and ranks as the 27th largest state by size. The highest elevation in New York is Mount Marcy in the Adirondacks, at 5,344 feet (1,629 meters) above sea level; while the state's lowest point is at sea level, on the Atlantic Ocean.
Document 7: Love, Speed and Thrills: Love, Speed and Thrills is a 1915 American short comedy film produced by Mack Sennett, directed by Walter Wright, starring Mack Swain, Chester Conklin and Minta Durfee, and featuring Billy Gilbert, Charley Chase and the Keystone Cops in supporting roles.
Document 8: New Jersey: State of New Jersey Flag Seal Nickname (s): The Garden State Motto (s): Liberty and prosperity Official language None Spoken languages English (only) 69.4% Spanish 15.9% Indic 2.7% Chinese 1.5% Korean 1.1% French 0.97% Tagalog 0.94% Portuguese 0.91% Italian 0.83% Arabic 0.76% Polish 0.72% Russian 0.57% Demonym New Jerseyan (official), New Jerseyite Capital Trenton Largest city Newark Largest metro Greater New York Area Ranked 47th Total 8,722.58 sq mi (22,591.38 km) Width 70 miles (112 km) Length 170 miles (273 km)% water 15.7 Latitude 38 ° 56 ′ N to 41 ° 21 ′ N Longitude 73 ° 54 ′ W to 75 ° 34 ′ W Population Ranked 11th Total 9,032,872 (2018 est.) Density 1210.10 / sq mi (467 / km) Ranked 1st Median household income $68,357 (7th) Elevation Highest point High Point 1,803 ft (549.6 m) Mean 250 ft (80 m) Lowest point Atlantic Ocean Sea level Before statehood Province of New Jersey Admission to Union December 18, 1787 (3rd) Governor Phil Murphy (D) Lieutenant Governor Sheila Oliver (D) Legislature New Jersey Legislature Upper house Senate Lower house General Assembly U.S. Senators Bob Menendez (D) Cory Booker (D) U.S. House delegation 7 Democrats 5 Republicans (list) Time zone Eastern: UTC - 5 / - 4 ISO 3166 US - NJ Abbreviations NJ, N.J. Website www.nj.gov
Document 9: The Gentleman from Indiana: The Gentleman from Indiana is a surviving 1915 American silent drama film directed by Frank Lloyd and written by Julia Crawford Ivers and Frank Lloyd after the novel by Booth Tarkington. The film stars Dustin Farnum, Winifred Kingston, Herbert Standing, Page Peters, Howard Davies, and Juan de la Cruz. The film was released on November 28, 1915, by Paramount Pictures.
Document 10: Arthur Hoerl: Arthur Hoerl (December 17, 1891 – February 6, 1968) was an American screenwriter and film director. Hoerl was born in New York, son of Louis Hoerl, a German immigrant silver polisher, and Teresa Hoerl. Arthur completed three years of high school, according to the 1940 US Census.
Document 11: The Actor's Children: The Actor's Children is a 1910 American silent short drama written by Lloyd Lonergan and produced by the Thanhouser Company in New Rochelle, New York. The film features Orilla Smith, Yale Boss, Frank Hall Crane and Nicholas Jordan. The production was not the first film subject by the company, but it was the first to be released. Both Barry O'Neil and Lloyd B. Carleton have been credited as the director of the production. Edwin Thanhouser stated that 19 copies of the film were produced and distributed to dealers.
Document 12: Lloyd Lonergan: Lloyd Lonergan (March 3, 1870, Chicago, Illinois - April 6, 1937, New York City) was one of the most prolific scenario and screenwriters in American silent film.
Document 13: New York (state): State of New York Flag Seal Nickname (s): The Empire State Motto (s): Excelsior (in Latin) Ever upward State song (s): ``I Love New York ''Official language None Spoken languages English 69.6% Spanish 15.1% Chinese 3.1% French 1.6% Russian 1.2% Italian 0.9% Yiddish 0.7% Hindi / Urdu 0.6% Arabic 0.5% Japanese 0.5% Korean 0.5% Demonym New Yorker Capital Albany Largest city New York City Largest metro Greater New York Area Ranked 27th Total 54,555 sq mi (141,300 km) Width 285 miles (455 km) Length 330 miles (530 km)% water 13.5 Latitude 40 ° 30 ′ N to 45 ° 1 ′ N Longitude 71 ° 51 ′ W to 79 ° 46 ′ W Population Ranked 4th Total 19,849,399 (2017 est.) Density 416.42 / sq mi (159 / km) Ranked 7th Median household income $58,005 (2016) (23rd) Elevation Highest point Mount Marcy 5,344 ft (1,629 m) Mean 1,000 ft (300 m) Lowest point Atlantic Ocean Sea level Admission to Union July 26, 1788 (11th) Governor Andrew Cuomo (D) Lieutenant Governor Kathy Hochul (D) Legislature New York Legislature Upper house State Senate Lower house State Assembly U.S. Senators Chuck Schumer (D) Kirsten Gillibrand (D) U.S. House delegation 17 Democrats 9 Republicans 1 Vacant (list) Time zone Eastern: UTC - 5 / - 4 ISO 3166 US - NY Abbreviations NY, N.Y. Website www.ny.gov
Document 14: Mickey's Northwest Mounted: Mickey's Northwest Mounted is a 1940 silent short film in Leon Schlesinger’s "Mickey McGuire" series starring a young Mickey Rooney. Directed by Tex Avery, the two-reel short was released to theaters on April 11 1940 by Metro Goldwyn Mayer.
Document 15: A Maori Maid's Love: A Maori Maid's Love (Originally titled The Surveyor's Daughter) is a 1916 Australian silent film directed by Raymond Longford about an interracial romance between a white man and a Māori girl. It is considered a lost film as there are no known copies.
ground_truth: July 26, 1788
sub_queries: With the Mounted Police >> screenwriter Answer: Lloyd Lonergan
What city did Lloyd Lonergan live when he died? Answer: New York
when did New York became part of the united states Answer: July 26, 1788