the court later ruled in the accused’s favor