The District Attorney's office of Pueblo, Colorado, was forced to drop felony drug and weapons charges after an officer admitted to faking body camera footage of a search of the suspect's car.

In November of 2016, Joseph Cajar's car was pulled over and searched by Officer Seth Jensen.

According to police, Jensen found seven grams of heroin and a firearm in the car. Cajar was then arrested, charged and detained pending trial.

Scroll down for video

The District Attorney's office of Pueblo, Colorado, was forced to drop felony drug and weapons charges after an officer admitted to faking body camera footage of a search of the suspect's car (pictured)

After a preliminary hearing in March, however, Jensen texted Pueblo's deputy district attorney, Anne Mayer, revealing that the body camera footage submitted as evidence was staged, reported Gizmodo.

In text messages obtained by the Pueblo Chieftain, Mayer wrote: 'You'll have to watch your body cam before the motions to make sure the report and the camera are the same.'

According to police, Jensen found seven grams of heroin and a firearm in the car (pictured). Cajar was then arrested, charged and detained pending trial

In November of 2016, Joseph Cajar's car was pulled over and searched by Officer Seth Jensen. Pictured is a scene from the bodycam footage

Jensen then replied: 'For the search, the body cam shows different than the report because it was. Prior to turning my body cam on I conducted the search. Once I found the ****, I stepped back, called, then activated my body cam and walked the courts through it.'

Mayer then wrote: 'Was that in the report? If not you've got to write a supplement explaining that your body cam was off during the search and the body cam that does exist is a reenactment.'

Jensen has admitted to searching the car before turning on his body camera, and says that once he found the weapons and drugs, he called over another officer, turned on his camera and reenacted the search.

Jensen admitted in text messages that he searched the car and found the weapons (pictured) and drugs, but didn't have his body camera on the first time around

After finding the illegal contraband, he called another officer for backup, then turned his body camera on to 'recreate the scene' for when the video was shown in court. However, an attorney said that Jensen sounded 'surprised' throughout the video, falsely leading the viewer to believe it was his first time searching the car

In a letter to The Pueblo Chieftan, the former suspect's attorney said 'all indications in the discovery and during his testimony at the preliminary hearing indicated that the body camera footage actually represented the sequence of events as they developed regarding the search.'

The attorney said that Jensen sounds 'surprised' throughout the video, which was obtained by ARS Technica, leading the viewer to believe it was his first time searching the car.

The case has now been dismissed, and Jensen is being investigated to see if his actions violated policy.