Question: What year did the prison where William Penn wrote No Cross, No Crown stop being used as a prison?

Passages:
The Province of Pennsylvania, also known as the Pennsylvania Colony, was founded in English North America by William Penn on March 4, 1681 as dictated in a royal charter granted by King Charles II.  The name Pennsylvania, which translates roughly as "Penn's Woods", was created by combining the Penn surname (in honor of William's father, Admiral Sir William Penn) with the Latin word "sylvania", meaning "forest land."  The Province of Pennsylvania was one of the two major Restoration colonies, the other being the Province of Carolina.  The proprietary colony's charter remained in the hands of the Penn family until the American Revolution, when the Commonwealth of Pennsylvania was created and became one of the original thirteen states. William Penn University is a private, liberal arts university in Oskaloosa, Iowa, United States.  It was founded by members of the Religious Society of Friends (Quakers) in 1873 as Penn College.  In 1933, the name was changed to William Penn College, and finally to William Penn University in 2000. The Tower of London, officially Her Majesty's Royal Palace and Fortress of the Tower of London, is a historic castle located on the north bank of the River Thames in central London.  It lies within the London Borough of Tower Hamlets, separated from the eastern edge of the square mile of the City of London by the open space known as Tower Hill.  It was founded towards the end of 1066 as part of the Norman Conquest of England.  The White Tower, which gives the entire castle its name, was built by William the Conqueror in 1078 and was a resented symbol of oppression, inflicted upon London by the new ruling elite.  The castle was used as a prison from 1100 (Ranulf Flambard) until 1952 (Kray twins), although that was not its primary purpose.  A grand palace early in its history, it served as a royal residence.  As a whole, the Tower is a complex of several buildings set within two concentric rings of defensive walls and a moat.  There were several phases of expansion, mainly under Kings Richard the Lionheart, Henry III, and Edward I in the 12th and 13th centuries.  The general layout established by the late 13th century remains despite later activity on the site. The monument at the William Penn Landing Site marks the spot of the first landing of William Penn on the territory of Pennsylvania, on October 28 or 29, 1682 (O.S.).  Penn, the founder of the Province of Pennsylvania, landed in the only town in the province, then known as Upland, but since known as Chester. Zak Penn (born March 23, 1968) is an American screenwriter and director.  Penn wrote and directed "Incident at Loch Ness" and "The Grand", and co-wrote the scripts for "X2", "" and the story for "The Avengers".  With Michael Karnow, Penn is the co-creator of the TV series "Alphas" on the Syfy network. No Cross, No Crown is one of the chief works of William Penn, first published in 1669.  It was written during Penn's imprisonment in the Tower of London. The Camptown Historic District, also known as the La Mott Historic District and Camp William Penn, is a national historic district located in La Mott, Pennsylvania.  It is well known for the residence of famous abolitionist and suffragette Lucretia Mott.  It was also a stop on the Underground Railroad.  It played a crucial role in the Civil War; from 1863 to 1865, it housed Camp William Penn, a military training post for African-American soldiers.  Following the war, many of the soldiers bought homes in the area.  The area was said to be named "Camptown," but, since there was already another community in Pennsylvania that used that name, the name "La Mott" was chosen when the post office was established in 1885.  The district covers 26 acres, and includes 35 contributing buildings. The square, bounded by Smithfield Street, William Penn Place, and Oliver and Sixth Avenues, is surrounded by prominent downtown buildings including the Oliver Building, 525 William Penn Place, Omni William Penn Hotel, and the Regional Enterprise Tower.  It has long been a popular lunchtime destination for downtown workers.  In addition, retail shops are housed underneath it, along the Smithfield Street side of the square. William Penn High School, also known as William Penn or simply Penn, is a four-year comprehensive, coeducational public high school located in New Castle, Delaware, United States. The Manor of Gilberts was one of the areas of land that William Penn set aside for himself as the Proprietor of the Province of Pennsylvania.  The Manor was located on the along the left (northeastern) bank of the Schuylkill River, extending above and below the Perkiomen Creek.  The Manor was created on 8 October 1683 when Penn wrote a warrant assigning the Manor to himself.  The Gilberts were Willam Penn's mother's family.

Supporting sentences:
 It was written during Penn's imprisonment in the Tower of London.  The castle was used as a prison from 1100 (Ranulf Flambard) until 1952 (Kray twins), although that was not its primary purpose.