Eddie Rowe, seven, from Ripon got a taste of life as a prisoner at the city’s Police and Prison Museum.
The museum was holding a Cops and Robber event which gave fledgling crimefighters the chance to put their skills to the test at the museum which used to be a prison.
A Cops and Robbers Trail was set up for youngsters to follow clues, solve crimes and track down the culprit.
The head of museums for the RIpon Museums trust, Su Dalton said: “It is a great opportunity to for visitors to learn more about not just the history of Ripon, but also how law and order has evolved thorugh the centuries.”
The complex of buildings in St Marygate was the House of Correction for Vagrants between 1686 and 1816 before it became the Liberty Prison up until 1878.
It was then used as a police station form 1887 to 1956 before the museum first opened in 1984.
For more details on the museums and events held there log onto www.riponmuseums.co.uk