The court heard the man pleaded guilty at the earliest opportunity