How many years did Son of Sam get in prison?

On June 12, 1978, the son of Sam was sentenced to six life sentences in prison for the murders, making his maximum term 365 years.