The man who went on a shooting spree in Montgomery County last May has been sentenced to life without parole for killing two people Friday. The judge also added three consecutive life sentences.

RELATED: Man accused of killing estranged wife to enter plea

A day after killing his wife, former federal cop Eulalio Tordil opened fire outside of Montgomery Mall and in the Aspen Hill shopping center.

Tordil attorney blamed "two bad days" as the cause of his rampage.

Prosecutor John McCarthy said Tordil contemplated murderous rampage for months.

Tordil said he contemplated the rampage over credit card bills and his marriage meltdown, according to personal notes shown in court.

Earlier this year, Tordil admitted he shot and killed Malcolm "Mike" Winffell. He was allegedly trying to carjack a woman for a getaway car. Winffell rushed in to help her.

RELATED: 2 killed, 2 others injured in shootings in Montgomery County

He entered a guilty plea in April.

Some family members of the victims attended the sentencing hearing.

"My husband had bad days... but it never occurred to him to kill others," said Mike's widow, Norma.

"Today we take our lives back," she added.