The Parramatta Correctional Centre is a heritage-listed former medium security prison for males on the corner of O'Connell and Dunlop Streets, North Parramatta, Sydney, New South Wales, Australia. It was in operation between 1798 and 2011. The centre was initially called Parramatta Gaol until its name was changed to Parramatta Correctional Centre in 1992. When in operation, the centre was managed by Corrective Services NSW, an agency of the Department of Attorney General and Justice of the Government of New South Wales. Immediately prior to its closure, the centre detained short term sentenced and remand inmates, operated as a transient centre, and was the periodic detention centre for metropolitan Sydney. Designed by George Barney and Mortimer Lewis, the complex is listed on the Register of the National Estate and the New South Wales State Heritage Register as a site of State significance. History Correctional facilities were first established in Parramatta in 1798, being "a strong logged gaol of 100 feet in length, with separate cells for the prisoners ... and paled around with very high fence", housing eight prisoners. In 1799, a fire destroyed this facility and it was rebuilt in 1802 on the same site (now occupied by Riverside Theatres). The current Parramatta Correctional Centre was the third gaol to be built in Parramatta and was completed in 1842. The original design was submitted by Mortimer Lewis for Governor Bourke in 1835, however the buildings were commenced to a design by Captain George Barney, the Commanding Royal Engineer. When the first building was completed in 1842 by (James) Houison and Payten, Thomas Duke Allen was installed as the gaoler, with his wife Martha acting as matron for the female prisoners. Between 1842 and 1861, a number of improvements were made to conditions within the prison, but major extensions were not undertaken until 1862. As a result of the population boom caused by the gold rushes, both Victoria and New South Wales were forced to expand their penal facilities between 1858 and 1865. During this time, the perimeter wall of the original gaol was extended to enclose a portion of land equal in size to the existing allotment. In August 1863 as the wall was nearing completion, William Coles, the first clerk of works for the Colonial Architect, initiated a substantial works programme in both the original and new areas of the gaol. This included demolition of the portion of