A young Detroit man charged in the livestreamed fatal shooting of his 18-year-old friend has appeared in court and been released on bond.

Dawone Cook faces a misdemeanor charge of careless discharge of a firearm causing death.

Police say the 18-year-old Cook and Dylan Hemphill were showing off weapons and money in a video on Instagram when Hemphill was accidentally shot in the head.

Cook called 911. Hemphill was pronounced dead at the scene.

Cook appeared in court on April 30. A not-guilty plea was entered on his behalf.