Opposite Muzium Perak, the prison, built in 1879 to house lawless miners, was used by the Japanese during WWII and later as a rehabilitation centre for captured communists during the Emergency. It’s still a functioning prison and is not open to the public.