At a jury trial in the Circuit Court for Anne Arundel County (Wolff, J.), Barry DeWayne Brooks was convicted of distribution of cocaine and sentenced to eighteen months’ imprisonment. The Court of Special Appeals affirmed the judgment in an unreported opinion. We granted certiorari to determine whether, at a pretrial hearing, the court (Thieme, J.) erred in denying Brooks’s motion to compel disclosure of the State’s informer.
I.
On March 4, 1988, Detectives Foote and Young of the Anne Arundel County Police Department were conducting an undercover operation in the Bywater community, a housing project in Annapolis. They drove into the area in an unmarked vehicle, accompanied by an informer, and bought cocaine from an individuаl while seated in their car. On *519 May 25, 1988, almost two months after the transaction, Brooks was arrested as the criminal agent and charged with distribution, possession with intent to distribute, and simple possession of cocaine.
Prior to trial, Brooks moved to compel disclosure of the informer. He proffered to show that he had been misidentified as the seller and that the informer was a crucial witness to negate any police testimony to the contrary. The State conceded that the informer was present throughout the transaction and that he introduced the seller to the detectives. It maintained, however, that the State’s privilege to conceal the identity of informers was applicable because the informеr was not an integral part of the transaction.
The court rejected Brooks’s proffer and denied the motion. It ruled that disclosure is not required if the informer is a mere tipster so that, even if he accepted Brooks’s proffer, “the only thing I’ve heard is that at most [the informer] was a tipster.”
At trial, Detective Foote testified that, prior to March 4, 1988, he had “reсeived numerous names” of individuals, including Brooks, who were suspected of dealing narcotics. He also testified that, on the day of the sale, Detective Young was driving the unmarked vehicle, the informer was sitting in the front passenger seat, and Detective Foote was sitting in the back seat, behind the informer. Detective Young stopped the vehicle so that the driver’s sidе was next to the passenger’s side of an already-parked white Chevrolet Nova. A tall, light-skinned black man was exiting the passenger side of the Nova. The informer knew him. Detective Young rolled down his window and the informer said, “Hey, Barry, can I holler at you for a minute?” The man came over to Detective Young’s window and discussed with Young the type and quantity of narcotic he was seeking. The man thereafter said he would return. He walked towards the housing project and returned in five minutes, getting into the back seat of the car behind Detective Young and exchanging money for a package of what *520 later was tested to be cocaine. He told the detectives to come to a housing project in the Newtown area, near Bywater, if they wanted more cocaine. He then left the vehicle. According to Detective Foote, at no time did the seller stand next to the passenger’s side of the unmarked car, where the informer was sitting.
Detective Young gave a substantially similar version of the transaction. However, contrary to Detective Foote’s testimony, Detective Young said that it was the informer, not he, who initiated discussion about purchasing narcotics.
Neither detective had met Brooks before the day in question, and the police report written the day after the transaction only identified Brooks by height and weight. Detective Foote testified that he had seen Brooks on approximately four prior occasions, always in-the Newtown area. He remembered seeing him once alone, twice in a crowd of mostly “dark-skinned, black males,” and once driving a white Chevrolet. 1 On none of these occasions did Detective Foote approach him. The detective also testified that he had seen a photograph of Brooks prior to the day of the unlawful transaction, but that his identification of Brooks at trial was based on the transaction.
Detective Young testified that he had seen Brooks on about five occasions before March 4,1988, but that he could not have described Brooks’s weight or any identifying characteristics before the day of the transaction; he had known only that Brooks was a tall, light-skinned black man. Detеctive Young had run a check on the license plate of the Chevrolet that they had seen driven by an individual thought to be Brooks, and learned that Brooks owned the vehicle. The detective did not run a similar check on the license plate of the white Nova which was observed on March 4. The detective also saw the photograph of Brooks aрproximately two days after the transaction. Neither *521 detective reexamined the photograph in the subsequent seven months before trial, and there was no evidence that they saw Brooks in person again during that time.
Brooks did not present any evidence. He noted in closing argument that neither detective, either at the time of the transaction or аt trial, had commented on Brooks’s facial scar or his two gold-trimmed teeth as assisting them in identifying him.
Before the Court of Special Appeals, Brooks argued that Judge Thieme committed reversible error when he denied the motion to compel disclosure of the informer’s identity. He claimed that Judge Thieme mislabelled the informer a “tipster,” and then failed to weigh Brоoks’s specific claim of misidentification against the State’s interest in withholding the identity of the informer.
The Court of Special Appeals agreed that the informer was not a mere “tipster.” It reasoned that the informer issue was “mid-point along a spectrum which is free of ambiguity at both ends.” It held that, had the informer been a mere “tipster,” his disclosure would not have been required. On the other hand, it said that had the informer been an active participant in the crime itself, his disclosure could be compelled. The court then held that, as a witness, the informer stood between the two categories and that, in those circumstances, the law entrusts the disclosure decision to the wide discretion of the judge at the pretrial hearing. The court concluded that Judge Thieme had fairly exercised his discretion in denying the motion. It also found that, in making the motion, Brooks was “involved either on a fishing expedition or an opportunity to make procedural mischief for future appellate purposes.” In so holding, the intermediate appellate court determined that Judge Thieme’s decision not to compel disclosure of the informer’s identity was fortified by the fact that the two officers had seen Brooks on three or four previous occasions, had seen his vehicle, and had identified his photograph.
*522 II.
The State’s privilege to withhold from disclosure the identity of its informers has long been recognized, not only in Maryland,
Drouin v. State,
“ ‘Communications of this kind ought to receive encouragement. They are discouraged if the informer’s identity is disclosed____ Law enforcement officers often depend upon professional informers to furnish them with a flow of information about criminal activities. Revelation of the dual role played by such persons ends their usefulness to the government and discourages others from entering into a like relationship.’ ”
McCray,
While the State’s interest in maintaining the anonymity of its informers is manifestly important, that interest is necessarily circumscribed by the defendant’s interest in a fair trial. In this regard, the Supreme Court held in
Roviaro,
its seminal case on this issue, that the privilege is limited by fundamental fairness requirements when determining the guilt or innocence of the accused. “Where the disclosure of an informer’s identity, or of the contents of his communication, is relevant and helpful to the defense of an accused, or is essential to a fair determination of a cause,
*523
the privilege must give way.”
In that same vein, the Court held that the privilege is limited to its underlying purpose.
Roviaro,
Roviaro
did not impose any absolute rule of when an informer’s identity must be disclosed.
Id.
In
Roviaro,
the informer and the accused wеre the sole participants in a drug transaction, the testifying police officers only listened to the transaction or watched it from afar, the accused did not know the informer, and the defense was entrapment. The Court, applying its balancing test, held that the informer’s name should have been released. In so holding, it noted that the informer’s “possible testimony wаs highly relevant and might have been helpful to the defense,”
id.
Relying on
Roviaro,
we interpreted the nondisclosure privilege to be inapplicable “whenever the informer was an integral part of the illegal transaction.”
McCoy v. State,
“ ‘[Witness’ as used in Gulick means a material witness, in the sense that his testimony is important to a fair determination of the cause. It is then that his identity becomes necessary and relevant to a fair defense. Thus in this context ‘material’ may be said to have a meaning more restrictive than its usual meaning. So, although an eyewitness to a crime is clearly a ‘material’ witness as that word is ordinarily used, if he is an informer, simply observing an illegal transaction but not participating in it, the fact that he оbserves the transaction does not necessarily make his possible testimony so important as to compel disclosure of his identity in the face of the rationale of the nondisclosure privilege.” (Emphasis in original.)
*525
The decision to compel disclosure of an informer is within the sound discretion of the trial court.
Gulick,
We have stressed that trial courts must apply the
Roviaro
balancing test in each case, regardless of the labels attached to the informer’s role.
Gulick,
We thus reject the State’s contention that the nondisclosure privilege applies when an informer merely points out or introduces a defendant to an undercover officer and is only a witness to, not a participant in, the illegal transaction. Such a rule would ignorе the required Roviaro balancing test. Indeed, virtually all the cases cited by the State in favor of this proposition applied the Roviaro test to the particular facts of the case before concluding that disclosure was not necessary.
A number of jurisdictions confronted with claimed misidentification cases similar to the instant case have balanced the State’s interest in nondisclosure against the accused’s interest in the informer’s testimony and have found the latter interest to prevail.
State v. Blyther,
Jurisdictions that have denied disclosure in mistaken identity cases have also relied ,on the
Roviaro
balancing test.
United States v. Soles,
In
People v. Goggins,
III.
The Court of Special Appeals erred when it held that Judge Thieme properly exercised his discretion when denying Brooks’s motion to disclose the identity of the informer. As we see it, the trial judge erroneously labelled the informer a “tipster;” he then erred when he held that this determination, in effect, replaced his duty to balance Brooks’s claim of misidentification against the State’s interest in protecting the informer’s identity. The intermediate appellate court seemingly ignored the possibility that Brooks requested the disclosure of the informer’s identity because he truly was misidentified by the police as the seller, and was therefore not at the scene of the crime to know the informer’s identity. In these circumstances, it is hardly beyond reason that the informer, who knew the seller, might exonerate him. The measure of that possibility is for the trial court to determine, applying the balancing test sеt forth in
Roviaro,
based on the record made at the pretrial hearing. In this regard, we note that the intermediate appellate court inappropriately relied on the prosecution testimony at trial to support Judge Thieme’s denial of the motion to disclose.
*528
As with pretrial suppression hearings,
see Trusty v. State,
We conclude, in the circumstances of this case, that Brooks must be afforded a new trial. Whether Brooks’s motion to compel disclosure of the informer’s identity should be granted upon retrial is governed by the principles set forth in this opinion. 3
JUDGMENT OF THE COURT OF SPECIAL APPEALS REVERSED; CASE REMANDED TO THAT COURT WITH DIRECTIONS TO REMAND THE CASE TO THE CIRCUIT COURT FOR ANNE ARUNDEL COUNTY FOR A NEW TRIAL. COSTS IN THE COURT OF SPECIAL APPEALS AND IN THIS COURT TO BE PAID BY ANNE ARUNDEL COUNTY.
Notes
. Although not entirely cleаr from the transcript, this white Chevrolet apparently was not the white Chevrolet Nova from which the seller exited on March 4.
.
Roviaro
recognized,
. At the new hearing, Brooks must do more than merely speculate that disclosure will prove helpful.
United States v. Gonzales,
