A man who fatally stabbed his wife 56 times with a pair of scissors because “she did not obey the rule of marriage” has been sentenced to a maximum of 21 years’ jail.

Mokhtar Hosseiniamraei, 34, will be eligible for release in 2030 after he serves a non-parole period of 15 years and nine months for the stabbing murder of Sydney hairdresser Leila Alavi

In his sentencing remarks in the NSW Supreme Court on Thursday, Justice Robert Allan Hulme said Ms Alavi was “brutally killed” and her “dying moments must have been utterly terrifying”.

“He killed his estranged wife in the most callous and brutal circumstances and in the context of a history of personal violence and threats to kill her. He was not deterred by being subject to an AVO,” Justice Hulme said.

Justice Hulme said Hosseiniamraei’s attack on Ms Alavi was “ferocious” and he had shown a “breathtakingly arrogant and misogynistic attitude towards the right of his wife to choose her own destiny”.

Hosseiniamraei repeatedly stabbed Ms Alavi, 26, in the car park beneath the Auburn salon where she worked in January 2015.

She had been in the middle of cutting hair when she became aware that Hosseiniamraei, who had earlier stolen scissors from a supermarket, was at the shopping centre.

The young apprentice told her colleagues she would go to speak to him, and when one of them later went to check on her they found her sitting in the driver’s seat of her Holden Astra covered in blood.

Ms Alavi, who had moved out of her marital home and taken out an apprehended violence order against her estranged husband, had been turned away from women’s refuges up to a dozen times in the months before her killing.

A day before her murder, Ms Alavi was at the salon when she received a phone call from Hosseiniamraei and told her colleagues: “He said he is going to kill me and all of us.”

It was not the first threat Hosseiniamraei had made. Three months earlier he had called her and told her: “You are a slut, I’m going to kill you and I’m going to fix up your sister and friends who have been teaching you this.”

Outside court, Mitra Alavi said she was pleased with the sentence and that her younger sister was “a good girl” who she had helped raise.

“That man killed my sister,” Ms Alavi said. “My sister working, pay the rent for him, pay everything, help him, but he took life.”

Hosseiniamraei, who left Iran as an an asylum seeker and met and married Ms Alavi in Turkey before they immigrated to Australia in 2010, pleaded guilty to the murder in March.

In a police interview, Hosseiniamraei said he had stabbed Ms Alavi “in her heart and in her neck because she did not obey the rule of marriage”.

“Because we were married and before divorce she broke the contract. I could not tolerate it. I could not forget it. I love her very much,” Hosseiniamraei said.

Hosseiniamraei said he had not eaten for 10 days and was sleeping rough before the killing, and had stolen the scissors with the possible thought of harming himself.

Justice Hulme said Hosseiniamraei’s thinking had been “chaotic” in the weeks and days before the murder, and it seemed most likely the killing was not pre-planned but had “crystallised” that morning.