In 1644, New Sweden supported the Susquehannocks in their war against Maryland colonists. In May 1654, soldiers from New Sweden led by Governor Johan Risingh captured Fort Casimir and renamed it Fort Trinity (Trefaldigheten in Swedish). Sweden opened the Second Northern War in the Baltic by attacking the Polish–Lithuanian Commonwealth, and the Dutch sent an armed squadron of ships under Director-General Peter Stuyvesant to seize New Sweden. In the summer of 1655, the Dutch marched an army to the Delaware River, easily capturing Fort Trinity and Fort Christina. The Swedish settlement was formally incorporated into Dutch New Netherland on September 15, 1655, although the Swedish and Finnish settlers were allowed local autonomy. They retained their own militia, religion, court, and lands. This lasted until the English conquest of New Netherland, launched on June 24, 1664. The Duke of York sold New Jersey to John Berkeley and George Carteret to become a proprietary colony, separate from the projected colony of New York. The invasion began on August 29, 1664, with the capture of New Amsterdam and ended with the capture of Fort Casimir (New Castle, Delaware) in October. This took place at the beginning of the Second Anglo-Dutch War. In 1669, New Sweden was under British rule, but most of the population was still Swedish. A man named Marcus Jacobsson, posing as a member of the Königsmarck family, attempted to instigate a rebellion against the British to return New Sweden to Swedish rule. The rebellion, known as the Revolt of the Long Swede due to Jacobsson's height, failed. Jacobsson was sold into slavery in the Caribbean and the families that had supported him were fined for their participation in the revolt. New Sweden continued to exist unofficially, and some immigration and expansion continued. The first settlement at Wicaco began with a Swedish log blockhouse located on Society Hill in Philadelphia in 1669. It was later used as a church until about 1700, when Gloria Dei (Old Swedes') Church of Philadelphia was built on the site. New Sweden finally came to an end when its land was included in William Penn's charter for Pennsylvania on August 24, 1682. Hoarkill, New Amstel, and Upland The start of the Third Anglo-Dutch War resulted in the Dutch recapture of New Netherland in August 1673. They restored the status which predated the English capture, and codified it in the establishment of three counties: Hoarkill County, New