The 24-year-old was charged with attempted homicide and denied bail.