A judge said he would pass sentence on Paul Dunleavy next week.