AUSTIN, Texas — Editor's note: The attached video is about a recent Austin Police Department cadet graduation and the cadet shortage.

At a South Austin hospital on Wednesday, a man broke an IV pole and part of the railing off of the bed he was handcuffed to and attempted to use them as weapons, according to a Travis County affidavit obtained by KVUE.

According to police, the man had admitted to using cocaine and was arrested and sedated to be transported to the hospital before the incident.

After brandishing the pole and railing as weapons, the man pulled out an oxygen tank from under the bed and attempted to open it.

As several officers entered the room, one wielding a ballistic shield, the man began to swing the oxygen tank and bed rail overhead, hitting the shield multiple times, police said.

RELATED:

APD still 122 officers short after new cadets graduate

'Our basic job is to help people.' Austin Police Department doubles amount of required mental health training

An officer fired a Taser into the man's sternum, which temporarily stopped him, but he quickly turned back to the officers and started swinging at the shield again, according to the affidavit.

Police said an officer fired another Taser charge at the man, which was also ineffective. Officers were able to push the man to the ground and take control of him, according to the affidavit.

Officers said the man had hit one of the officers with the oxygen tank, causing multiple injuries including swelling on the left forearm, pain in his right wrist and shoulder, and swelling on his left cheekbone.

According to the affidavit, the cost of the damages done to the hospital bed totaled $3,700.62. The man is being held in the Travis County Jail with a $25,000 bond for assault on a peace officer, a $7,500 bond for criminal mischief and a $12,500 for harassment.

WATCH: APD RISE community policing team fighting crime

PEOPLE ARE ALSO READING:

Man involved in hit-and-run that left a 5-year-old girl dead gets 360-day sentence

VERIFY: Fact-checking Trump's 2020 State of the Union address and the Democratic response

A look at the numbers involving car burglaries in Pflugerville

16-year-old Arlington student shot, killed days after he stopped suspect from bullying another boy