An illegal immigrant who is on trial for murdering two Sacramento cops had to be removed from court on Wednesday and has been banned from his own trial after the latest in a string of profane outbursts.

Luis Bracamontes, 37, is on trial for murdering Sacramento Sheriff’s Deputy Danny Oliver and Placer Detective Michael Davis Jr during a crime spree in 2014.

He admits shooting the men but his lawyers are fighting the murder charges, claiming he was not responsible for his actions at the time because he was high.

Their goal is for him to be jailed for life instead of the death penalty which he could receive if convicted of murder.

On Wednesday, Bracamontes did nothing to help their case.

Luis Bracamontes, 37, (shown above laughing in court last week) was thrown out of the courtroom on Wednesday after a profane outburst against his victims families and the judge

Judge Steve White banned Bracamontes from attending the rest of the guilt phase of the trial. He is shown last week. No cameras were allowed inside the court on Wednesday

Determined to be removed from court, he shouted out: F** it, I don’t wanna be here no more.

'F*** the jury too. And the dead cops, and their stupid f***** families too'.

Cameras were not inside the courtroom to capture his comments. They were described in a transcript later obtained by The Sacramento Bee.

Judge Steve White ordered bailiffs to remove him afterwards and told him he would not be allowed to return to court for the remainder of the guilty phase of the trial.

'Mr. Bracamontes, you’ll see the rest of the trial from 5-tank,' he said.

As he was led away, he replied: 'F*** you, judge.'

Judge White added that he took his threats to the victims' families seriously.

It was the latest in a string of outbursts from the Mexican national.

In previous sessions, he told how he wanted to kill more cops and boasted that he would be 'out soon to kill more'.

He referred to his victims as 'motherf******s' and giggled as the rampage was described.

Luis Bracamontes, 37, is standing trial for the 2014 murders Placer Sheriff’s Deputy Michael Davis Jr. (left) and Sacramento Sheriff’s Deputy Danny Oliver (right)

Bracamontes is seen here having a tie placed around his neck in Sacramento Superior Court last Wednesday. He admits the shootings but his lawyers are trying to avoid him being sentenced to death

On October 24, 2014, he went on a killing spree with his US citizen wife, stealing cars and shooting at motorists as well as the police who were chasing him.

On Wednesday, Sheriff's Deputy Jeff Davis described how Bracamontes peppered his arm with bullets in a standoff at the end of his spree.

'I thought I was dead. The first thing I thought is, "I’m about to die. This guy’s trying to kill me. I need to move."

Bracamontes had stolen a patrol car and led it to a house in Auburn. He had already killed Oliver.

On Wednesday, Davis described firing at him.

'It was just an overall concern that this person did not care about human life at all,' he said.

When he fired his gun, Bracamontes fired back and he was shot in the arm.

'After I got two shots off, it wouldn’t fire anymore. At first I thought my weapon had malfunctioned.

'I saw blood everywhere. It was all over my gun and my arm. It was just gushing.

'As soon as I saw that I knew I really had to end this thing...[but] I couldn’t pull the trigger.

'I couldn’t even tell you how many holes in my arm. I started yelling, "I’m hit. I’m hit."

Bracamontes is seen here in mugshots from July 2001 (left) and October 2014 (right)

Bracamontes is seen here in mugshots from January 1998 (left) and May 2001 (right). He has been deported many times but has sneaked back into the country

'I started to pass out. I had a tourniquet in my uniform but I didn’t think of it so I just stuck my fingers in the holes in my arm,' he said.

The partner of the police officer who died in the gunfight also testified.

He described finding Michael Davis lying on the ground, bleeding from the mouth, after Bracamontes fired his shots.

'I looked over in his direction and I could tell he was no longer kneeling, he was laying flat on the ground,' Detective Mike Simmons said.

'I couldn’t understand why he was lying on the ground.

Brocamontes' wife Janelle Monroy (left and right) is facing life imprisonment. She is also on trial and wept as the officers gave their testimony

'I yelled at him to get up, I grabbed him and rolled him over. "We’ve got work to do, let’s go!

“All I saw was blood coming out of his mouth. I’ve seen a lot of dead bodies in my career, and his eyes were half mast.

'There was no light in them. Dead eyes. I just started yelling, ‘No, no, no, no, no!"' he said.

Brocamontes' wife Janelle Monroy is facing life imprisonment. She is also on trial and wept as the officers gave their testimony.

Her husband will likely be deported once convicted. He had been deported several times before the killings but was able to sneak back into the country.

President Trump has used the case in the past as an example for why he believes the country needs stricter immigration rules.