Question: What rebellion, which culminated with the Second Battle of Vinegar Hill, was the largest convict uprising until the 1830 Bathurst rebellion?

Context paragraphs:
Vinegar Hill Historic District: The Vinegar Hill Historic District is a historic district and neighborhood in Bloomington, Indiana, United States.  Built primarily in the second quarter of the twentieth century, and located a few blocks south of Indiana University Bloomington campus, Vinegar Hill has been the home of leading Indiana University faculty members.  It has inspired literary attention, and it has been designated a historic site.

Castle Hill convict rebellion: The Castle Hill rebellion of 1804 was a rebellion by convicts against colonial authority in the Castle Hill area of the British colony of New South Wales.  The rebellion culminated in a battle fought between convicts and the colonial forces of Australia on 5 March 1804 at Rouse Hill, dubbed the Second Battle of Vinegar Hill after the first Battle of Vinegar Hill which had taken place in 1798 in Ireland.  It was the first and only major convict uprising in Australian history suppressed under martial law.

Ralph Entwistle: Ralph Entwistle (c. 1805 – 2 November 1830) was an English labourer who was transported to the British penal colony of New South Wales as a convict in 1827 and later became a bushranger.  As leader of the Ribbon Gang, he sparked the Bathurst Rebellion of 1830.  He, along with nine of his gang members, were captured by police and executed.

Vinegar Hill, Brooklyn: Vinegar Hill is a neighborhood in the borough of Brooklyn in New York City on the East River Waterfront between Dumbo and the Brooklyn Navy Yard.  The neighborhood is locally governed by Brooklyn Community Board 2 and is policed by the New York City Police Department's 84th Precinct.  The large Irish-American population in Vinegar Hill made it one of several New York areas once known colloquially as Irishtown.

Bellevue Hill, New South Wales: In the early 19th century, Irish-Australian immigrants referred to the area as Vinegar Hill, after the Battle of Vinegar Hill, an engagement during the 1798 uprising of the United Irishmen in south-east Ireland.  Governor Lachlan Macquarie took great exception to this and decided to name the suburb Bellevue Hill, the "belle vue" meaning "beautiful view".

Battle of Vinegar Hill: The Battle of Vinegar Hill ("Irish": Cath Chnoc Fhíodh na gCaor), was an engagement during the Irish Rebellion of 1798 on 21 June 1798 when over 13,000 British soldiers launched an attack on Vinegar Hill outside Enniscorthy, County Wexford, the largest camp and headquarters of the Wexford United Irish rebels.  It marked a turning point in the rebellion, as it was the last attempt by the rebels to hold and defend ground against the British military.  The battle was actually fought in two locations: on Vinegar Hill itself and in the streets of nearby Enniscorthy.

Dumbo, Brooklyn: Dumbo (or DUMBO, short for Down Under the Manhattan Bridge Overpass) is a neighborhood in the New York City borough of Brooklyn.  The area known as DUMBO used to be known as Gairville.  It encompasses two sections: one located between the Manhattan and Brooklyn Bridges, which connect Brooklyn to Manhattan across the East River, and another that continues east from the Manhattan Bridge to the Vinegar Hill area.  The neighborhood is bounded by Brooklyn Bridge Park to the north, the Brooklyn Bridge to the west, Brooklyn Heights to the south and Vinegar Hill to the east.  Dumbo is part of Brooklyn Community Board 2.

Vinegar Hill, Ontario: Vinegar Hill (also Vinegar Hill Dip) is an unincorporated community in Markham, Ontario, Canada bounded by Highway 7 to the north, Highway 407 to the south, and streets just west and east of Main Street South, bordered by the Rouge River.  The name of the community is believed to be linked to a cider mill on the east side of the river valley or barrel makers that filled them with vinegar to test their straightness when rolling down Markham Road.

Bathurst rebellion: The Bathurst rebellion of 1830 was an outbreak of bushranging near Bathurst in the British colony of New South Wales, Australia, involving a group of escaped convicts who ransacked villages and engaged in shootouts between October and November of that year.  Led by 25-year-old English convict Ralph Entwistle, the group, known as the Ribon Gang, numbered up to 130 men at its peak, making it the largest convict uprising in New South Wales history since the Castle Hill convict rebellion of 1804.

Vinegar Hill Windmill: Vinegar Hill Windmill or Templeshannon Windmill is a tower mill on Vinegar Hill, Enniscorthy, County Wexford.

Supporting paragraphs: Bathurst rebellion Castle Hill convict rebellion
Answer: Castle Hill convict rebellion