For how many years the court sentenced John?