Police followed Yak Dut when they saw him driving a car with a missing wheel

Yak Dut (pictured) was pursued by the female police officers when they allegedly saw him driving a Volkswagen with a missing wheel in February last year in Mill Park near Melbourne

A man who bashed two female cops and threatened to kill them before telling police he wouldn't get locked up because he's black has walked free from jail.

Yak Dut was pursued by the female police officers when they saw him driving a Volkswagen with a missing wheel in February last year in Mill Park, near Melbourne.

Dut, then 21, stopped outside his house in South Morang and assaulted the officers so violently they were rushed to hospital.

Following his arrest, he threatened to hunt the women down and kill them with their own guns.

Dut was confident he would avoid jail because he's Kenyan-born with dark skin.

'I will get away with anything because I'm black. I will play the race card,' he told police.

The then-21-year-old (pictured) stopped outside his house in South Morang and allegedly assaulted the officers so violently they were hospitalised

Dut appeared in the County Court of Victoria on Friday where he was sentenced to 12 months behind bars but was able to walk free due to time already served.

He had been in prison since his arrest in February 2018.

The 22-year-old has been given a two year community corrections order and 150 hours community service, The Herald Sun reported.

Judge Wendy Wilmoth said Dut's age was a main factor in her sentencing.

'It is widely recognised that the rehabilitation of a young person is of great importance to the community,' she said.

'A lengthy prison term would do nothing to enhance those prospects, particularly given that you have already spent 18 months in custody.'

During his sentencing hearing the female officers, aged 36 and 57, broke down while recounting the events.

One said Dut continued to kick her even after she fell to the ground, and attempted to grab her gun.

The female officers, aged 36 and 57, each broke down at the County Court while recounting the events, and claim to have trauma as a result of the attack which left them in hospital with injuries (pictured)

Her partner said the family now live in constant fear that the 22-year-old will find the officer and kill her.

'He has no respect for authority and appears to have a hatred for females,' one victim said.

Both officers had non life-threatening injuries, but the 36-year-old was reported to have suffered ligament damage in her neck.

During his arrest he calling the officers 'pigs' and 'racist c****'.

Dut pleaded guilty to two counts each of intentionally causing injury and threats to kill, along with up to 24 other offences.