The Shire of York (Yorkshire), was the first large governmental unit organized in the English Province of New York soon after English control of the area was established in 1664.
On August 29, 1664, The Duke of York’s forces captured New Amsterdam from the Dutch, as part of their conquest of New Netherland. They renamed New Amsterdam as the Province of New York, which included modern New York, New Jersey, Vermont, southeast Pennsylvania, and Delaware.
Yorkshire (which was not a county), was created soon afterward in 1664. Its jurisdiction included Long Island, Staten Island, Manhattan Island, and the east side of the Hudson River coterminous with Westchester
Like the original Yorkshire in England for which it was named, Yorkshire, New York was divided into three ridings: East, West and North. New York's East Riding consisted of modern Suffolk County, its West Riding Staten Island, modern Brooklyn and modern Elmhurst, Queens (also known as Newtown) and its North Riding the rest of modern Queens, Nassau County, Westchester County and the Bronx.
On July 21, 1667, the Peace of Breda between England, France and the Netherlands confirmed the English conquest of New York from the Dutch in 1664.
As a result of renewed fighting between England and the Netherlands, the Dutch re-captured New York in August 1673. On September 12, 1673, New Netherland reverted the government structure in New Amsterdam.
On February 9, 1674, the Anglo-Dutch War was concluded with the Treaty of Westminster, the terms of which again transferred the territory to British control. The English reverted the organization to the one they previously established plus the take over of the governments the Dutch established in the interim.