While Moondyne Joe was bushranging in 1869 , an Irish prisoner named John Boyle O'Reilly was in Fremantle Prison . While Moondyne Joe was bushranging in 1869 , an Irish political prisoner named John Boyle O'Reilly was serving time in Fremantle Prison .