A Florida man charged with attempted murder after shooting at deputies on an Instagram livestream claims it was all part of a sex game between him and his wife.

Laforest Gray, 23, has been behind bars since February after he allegedly opened fire at four deputies while filming himself for his Instagram fans.

The officers had arrived at Gray's Orlando apartment over reports that he was beating his wife. But now Gray claims it was all part of their 'role playing adventures'.

In the four-page letter to the judge of his case, Gray claims that 'very fake and outrageous accusations' have been made against him as he requests .

'The reason for this petition you are reading is in my hopes that you dismiss all charges said against me at once,' he writes.

Scroll down for video

Laforest Gray, who was charged with attempted murder after shooting at deputies on an Instagram livestream, claims it was all part of a sex game between him and his wife

Gray told a judge that he and his wife Rachel (pictured together) were 'role playing in one of our many adventures' on the night of the shooting

In the handwritten letter, Gray claims that he and his wife Rachel have a 'low popular celebrity status and image'.

'Rachel and I have a social media presence where we often role play,' he writes. 'This type of role play even goes to the extent of Rachel using a stage name that I thought of which is "Crystina Rebecca Rossi."'

'In our role play adventures we have purchased specific items, added other members, and have acted the part in our videos and online personalities.'

'A lot of our role play adventures are for adult audiences because of the sexual nature we share.'

Gray reveals in the letter, which was obtained by WKMG, that some of his and Rachel's 'role play adventures' can be found on PornHub.

He also claims that he and Rachel are recognized and approached 'almost everywhere we go'.

Authorities were called to the couple's apartment after witnesses reported that Gray had dragged Rachel out of a car by her hair and down the street back to their home

'People have gone so far as asking for autographs and pictures at places like malls, movie theaters, parks, restaurants, grocery stores, and many more places including the courthouse and our neighborhood,' he continues.

Gray has nearly 60 million followers between his two Instagram accounts, which feature some pictures of his wife. Rachel has more than 32,000 followers on her adult Twitter account.

On the night of February 13, 2019, Gray claims he and Rachel were 'role playing in one of our many adventures'.

'Absolutely no crimes were committed and I certainly didn't do anything to hurt Rachel nor did I take her against her will for any reason whatsoever,' he adds. 'Rachel is a princess in my world.'

Gray claims it was the four officers who attempted to murder him, claiming they assaulted him and Rachel.

Deputies arrived at the home and Gray began livestreaming the incident, yelling at Rachel to tell the officers that the witnesses were 'lying'

He also alleges that was tackled and 'eaten alive' by their dog.

Police were called to the Citra at Winderemere apartments after a man who was driving through the complex saw Rachel walking by and looking like 'she was in distress', according to the Orlando Sentinel.

She refused the man's help but soon after ran back to his car after Gray left the couple's apartment and headed toward her.

The man told police that Rachel got into his car and said 'Please help'. Gray then opened the door and dragged his wife out by her hair and began punching her.

Another witness saw Gray dragging Rachel down the street by her hair to their apartment and called 911, the arrest affidavit states.

A deputy then arrived at the couple's apartment and found them arguing in the garage. Gray ignored his commands to show his hands and three more deputies arrived.

Gray began livestreaming the incident, yelling at Rachel to tell the officers that the witnesses were 'lying'.

The deputies pull Rachel out of the garage as Gray screams at them to 'get your hands off her!' before multiple gunshots ring out

Bodycam footage revealed that Gray had been holding onto a silver pistol with his right hand and pointed it at deputies, firing off the first round, police said

'I tired,' she tells him.

'Okay tell them,' he shoots back.

'I need you to calm down,' she pleads with him.

'I need you to tell them,' he says again.

The deputies then pull Rachel out of the garage as Gray tells his followers, 'Y'all finna see this s**t live bro.'

'I take one for the team yo, I swear to god, I swear to god,' he continues. 'Come here Rachel, come here.'

Gray was charged with four counts of attempted murder on a law enforcement officer, domestic violence, and burglary. He is being held without bond

As an officer pulls Rachel away, Gray screams 'get your hands off her!' before multiple gunshots ring out.

Bodycam footage revealed that Gray had been holding onto a silver pistol with his right hand and pointed it at deputies, firing off the first round, police said.

Deputies fired back at Gray but no one was injured or struck. Authorities said they had to use a K-9 to get Gray into custody.

Investigators said Rachel was 'uncooperative and denied anything happened' after her husband was arrested. She also claimed that Grey didn't have a gun.

Gray was charged with four counts of attempted murder on a law enforcement officer, domestic violence, and burglary. He is being held without bond.

The judge denied Gray's motion this week, stating that Gay cannot file motions on his own because he has an attorney.