The device, which was reportedly a replica Beretta, had the appearance of a handgun and was hidden in the visitor's clothing. Steve Gillan, general secretary of the Prison Officers' Association, said: "I would praise the vigilance of the prison officers and those who detected this handgun. Had they not done so, it could have been used in an escape attempt or an attempt on someone's life.