Leonard William Riley, 27, of Mowbray, pleaded guilty