<human>:  When was Newgate Prison built?
<bot>: Newgate Prison was built in the late 17th century. It was first used as a jail, but it later became a prison. The prison was closed in 1842, but it was reopened in the 1860s as a prison for women. It was closed again in the 1970s and is now used as a museum.