Follow CBSMIAMI.COM: Facebook | Twitter

MIAMI (CBSMiami) – A man accused of shooting a North Miami Beach police officer appeared before a judge Tuesday morning and asked, through his attorney, to be released on bond.

READ MORE: 120 Opa-locka Residents Return Home After Gas Explosion At Apartment Complex

Elton Bandoo’s attorney, Seth LaVey, said his client has never been in trouble before and blamed the media for spinning the shooting story out of control.

Bandoo, 26, is accused of attempted murder of a law enforcement officer and is being held without bond.

Bandoo told investigators that he acted in self-defense. He said he thought the officers had come to the house last Friday to rob him. Bandoo said he awoke to the screams of his mother that they were being robbed and a loud bangs. He said didn’t know the officer who he shot, Lino Diaz, was there to serve a warrant.

READ MORE: Police Investigate Double Shooting In NW Miami-Dade

CLICK HERE to watch CBS4’s report

Diaz was shot in the arm and leg. Diaz underwent surgery for his arm but doctors decided to leave the bullet in his right leg because it had lodged in his muscle.

Family and friends of Bandoo, who attended the hearing, had some strong words for the North Miami Beach police.

MORE NEWS: CDC Issues New Covid-19 Guidance For The Holiday Season

The judge decided to consider Bandoo’s request for bond and scheduled a hearing for February 19th to announce the decision.