THE dangers of police work were dramatically displayed to a Toowoomba court with an officer's body cam video showing a baseball bat-wielding drug offender rushing him during an arrest.

The policeman had been among a group of officers who attended the home of Nicholas Cruz Pearson on August 13, last year.

Told Pearson was not home, the officer's vest camera recorded a search of the house where Pearson was found in a bedroom.

Initially swearing at the officer, the then 25-year-old appeared to comply with police directions and stood up as if waiting to be handcuffed.

However, he then grabbed a baseball bat with metal screws protruding from its head which he wielded as he rushed the officer who fell backwards onto the floor.

Fortunately, other officers came to his aid and Pearson was seen on video reeling back onto a bed after being tasered.

Pearson pleaded guilty to serious assault of a police officer plus 22 other offences committed in the lead-up to his dramatic arrest which included dangerous operation of a motor vehicle, failing to pull over on police direction, assault/obstruct police, stealing and various drug and traffic offences.

His barrister Frank Martin told the court his client's offending all stemmed from drug use and he had been "self medicating" with methylamphetamine but had been clean since spending the past seven months in custody.

Judge Alexander Horneman-Wren SC sentenced Pearson to two years in jail, but taking into account the time spent in pre-sentence custody, ordered he be released on parole on April 13.

$400m cannabis farm to create 1000 jobs

Premium Content $400m cannabis farm to create 1000 jobs

Australia’s fledgling medicinal cannabis industry is ramping up

ALL THE ACTION: State T20 battles thrill

Premium Content ALL THE ACTION: State T20 battles thrill

See the photos from Twenty20 as under 16s hit the pitch for day two.

53 Queensland bank branches close in a year

Premium Content 53 Queensland bank branches close in a year

Queensland banking customers have been hit in a huge wave of bank branch closures...