[¶ 1] Rоbert Dean Gregg appeals from a criminal judgment and commitment of the East Central Judicial District Court upon a conditional plea of guilty to possession of a controlled substance and drug paraphernalia. We affirm, concluding the district court properly denied Gregg’s motion to suppress evidence.
I
[¶ 2] On July 20, 1999, West Fargo police were dispatched to the Hi-10 Motel, to investigate a disturbance. At the motel, Sergeant Michael Reitan talked with Robert Gregg, Joey Johnson, and Julie Dodd *519 in the motel lobby. The three had been involved in the disturbance, which they described to Sergeant Reitan. Gregg, Johnson, and Dodd reported they had been in the motel room where Gregg “had been residing at for a period of time,” when a man came to the door, demanded entry, and threatened them with a knife. The man kicked his way into the room, and Johnson struck him in the head with a bottle.
[¶ 3] While Sergeant Reitan was talking with Gregg, Johnson, and Dodd, Officers Donald Loberg and Jason Dura went to Gregg’s room to look for the knife and other evidence related to the disturbance. While looking under the bed in Gregg’s room, the officers found a gym bag containing drug paraphernalia, including syringes and smoking devices. They informed Sergeant Reitan about the discovery, and he told them to return the paraphernalia to the bag and put the bag back underneath the bed. The officers followed Sergeant Reitan’s instructions.
[¶ 4] Sometime during the course of the interview in the lobby and the search of the room, the officers ran Gregg’s, Dodd’s, and Johnson’s names and dates of birth “through driver’s license and wants and warrants checks.” Sergeant Reitan testified this was a standard practice. The check revealed Dodd and Gregg had their driving privileges suspended but Johnson had a valid North Dakota license.
[¶ 5] Officer Loberg told Gregg it would be best if he left West Fargo. Gregg, Johnson, and Dodd then transported some items from the room to a car registered to Gregg, and the officers left the scеne.
[¶ 6] Sergeant Reitan testified that the officers then remained in the area of the motel, so if one of the three drove, the officers could stop the driver for driving under suspension. After leaving the motel, the officers learned Johnson’s driving privileges had been suspended in Minnesota.
[¶ 7] Johnson eventually drove away from the motel in Gregg’s car, with Gregg and Dodd as passengers. The officers pulled the car over.
[¶ 8] Officer Loberg had Johnson exit the car and placed him under arrest. Officer Loberg went to the passenger side of the car to ask Gregg whether he had insurance on the car. Gregg responded the car was not insured.
[¶ 9] While questioning Gregg, Officer Loberg noticed a syringe by Gregg’s feet. The officer asked Gregg whether he or anyone else in the car was a diabetic. After Gregg responded “no,” Officer Lo-berg asked him to exit the car.
[¶ 10] Officer Loberg retrieved the syringe and noticed a plastic bag containing a white powdery substance undernеath the seat. Gregg was then arrested.
' [¶ 11] The front passenger area of the car was searched, and drug paraphernalia was found. Officer Loberg decided Gregg’s car should be impounded because it was parked “on the on ramp of 1-94” and was a traffic hazard. The impound inventory revealed additional drugs and drug paraphernalia. The gym bag found at the motel room was found in the car.
[¶ 12] Gregg was charged with possession of drug paraphernalia and with two counts of possession of a controlled substance. He brought a motion to suppress all evidence seized from his car, arguing the stop and search violated the Fourth Amendment of the U.S. Constitution and N.D. Const, art. I, § 8.
[¶ 13] The district court denied the motion, finding the search and seizure was proper “under various exceptions to the warrant requirement, including plain view and impound inventory.” The district court stated:
my view is that if we keep the black bag under the bed and assume that nobody looked in the blaсk bag, because there really were no consequences that followed from that discovery, Officer Reiten [sic] said this is wrong, put the bag *520 back under the bed, in my view that negates anything to do with that bag, and we just start fresh.
[¶ 14] The district court found Gregg and Johnson “gave the officers the second crack at the black bag by virtue of getting in a vehicle and driving when all three drivers had their licenses suspended.” The court' further concluded the syringe was found in plain view, which opened up a further searсh of Gregg’s car.
[¶ 15] In addition, the eourt'found:
They just happened to not have liability insurance on the 'car. Again, that was the defendants again assisting the officers with building their case. I don’t know that there would have been a legitimate basis for the inventory search if the car had been insured and they could have gotten somebody to come out and get it and drive it away. But by virtue of their own — circumstance of their own making, I think they’ve put themselves, in a box that requires that I dismiss your motion to suppress.
[¶ 16] On December 27, 1999, Gregg entered a conditional plea of guilty under N.D.R.Crim.P. 11(a)(2) in order to appeal the district court’s order denying his motion to suppress evidence.
[¶ 17] The district court’s criminal judgment and commitment was filed December 27, 1999, and Gregg’s appeal was timely. N.D.R.Crim.P. 37(b); N.D.R.App.P. 4(b). The district court had jurisdiction under N.D.C.C. § 27-05-06. This Court has jurisdiction under N.D. Const, art. VI, § 6, and N.D.C.C. § 29-28-06.
II
[¶ 18] The issue on appeal is whether the district court erred in denying Gregg’s motion to suppress drugs and drug paraphernalia obtained from the search of his car, because the еvidence was a result of an illegal search and is “fruit of the poisohous.tree.”
[¶ 19] When reviewing a district court’s ruling on a motion to suppress, we defer to the district court’s findings of fact and resolve conflicts in testimony in favor of affirmance.
City of Grand Forks v. Zejdlik,
[¶ 20] “Although the underlying factual disputes arе findings of fact, whether the findings meet a legal standard, in this instance a reasonable and articulable suspicion, is a question of law.”
Zejdlik,
A
[¶ 21] Gregg argues the evidence found in his car should have been suppressed under the “fruit of the poisonous tree” doctrine because the police officers exploited an illegal search and, there was no intervening circumstance to purge the evidence of its original taint.
[¶ 22] We begin our analysis by evaluating each of the three warrantless searches that occurred in this case. The United States Supreme Court has defined a search, within the meaning of the Fourth Amendment, as an intrusion into a person’s reasonable expectation of privacy.
See Katz v. United States,
[¶ 23] When an individual reasonably expects privacy in an area, the government, under the Fourth Amendment, must obtain a search warrant unless the intrusion falls within a recognized exception to the warrant requirement.
Blumler,
1
[¶ 24] The first search that occurred in this case was the search by Officers Loberg and Dura of the gym bag found underneath the bed in Gregg’s hotel room, where Gregg was living at the time. A person’s home is an area that is constitutionally protected.
State v. Kitchen,
[¶ 25] In this case, the State concedes the search of the gym bag at Gregg’s motel room was illegal.
2
[¶ 26] The second search in this case was the search of the front passenger area of Gregg’s car. The officers conducted this search after Gregg’s ear was stopped and Johnson was arrested. We conclude the evidence from this search is admissible under two exceptions to the warrant requirement.
[¶ 27] To stop a moving vehicle for investigative purposes, an officer must have an articulable and reasonable suspicion that a law has been or is being violated.
City of Fargo v. Sivertson,
[¶28] In this case, the officers’ stop of Gregg’s car was valid because the officers observed Johnson driving Gregg’s car and they knew Gregg, Johnson, and Dodd all had susрended driver’s licenses.
See State v. Mische,
[¶ 29] Officer Loberg testified that after the car was stopped, he saw, in plain view, a syringe on the floor next to Gregg’s feet. After learning no one in the car was a diabetic, Officer Loberg retrieved the syringe and in doing so discovered what he suspected was a controlled substance.
[¶ 30] An officer with a plain view of contraband which gives rise to probable cause is not immunized from the warrant requirement unless the search falls within one of the exceptions to the requirement.
State v. Garrett,
a
[¶ 31] The first exception the State argues is the search incident to a valid arrest.
See State v. Olson,
[¶ 32] In this case, the search of the front passenger area of Gregg’s car was within the search-incident-to-a-lawful-arrest exception to the warrant requirement. The arrest of Johnson, based upon probable cause, gave the officer the right to perform a search incident to arrest. We conclude the search of the passenger compartment was a valid search incident to arrest.
b
[¶ 33] The second exception the State argues is the automobile exception to the warrant requirement. Under the automobile exception, “if the search of an automobile without warrant is made upon probable cause, based upon a reasonable belief arising out of the circumstances known to the officer — that the automobile contains articles which are subject to seizure — the search is valid.”
State v. Kottenbroch,
[¶ 34] Here, Officer Loberg testified he saw, in plain view, a syringe on the floor next to Gregg’s feet. The officer retrieved the syringe and in doing so discovered what he suspected was a controlled substance.
[¶ 35] The district court’s finding that this search was valid, based on the syringe in plain view opening up further search of Gregg’s car, is supported by the evidence.
See State v. Olson,
3
[¶ 36] The last search in this case was the search of the remainder of Gregg’s car after the car was impounded. This Court has held that securing and inventorying the contents of motor vehicles “in police custody is predicated on the interest in protecting the owner’s property while it is in police custody, protecting the police against claims of lost, stolen or vandalized property and protecting the police against danger posed by the inventoried property.”
State v. Kunkel,
[¶ 37] In the present case, Officer Loberg impounded Gregg’s car because it was parked “on the on ramp of 1-94” and was a traffic hazard. The district court found there was a legitimate impoundment and inventory search because the car was not insured. For these reasons, the officers’ impound inventory was justified as a caretaking function. Thus, the car was properly impounded, and the evidence found in the impound inventory search is admissible under the inventory exception to the warrant requirement.
B
[¶ 38] Gregg argues the evidence found in the second and third searches was tainted by the illegal search of the gym bag in his motel room. He claims this evidence should have been suppressed under the “fruit of the poisonous tree” doctrine because the officers exploited the illegal seаrch. He further argues there was no *523 intervening circumstance to purge the evidence of its original taint.
[¶ 39] Any evidence obtained as a result of illegally acquired evidence must be suppressed as “fruit of the poisonous tree” unless an exception to the warrant requirement applies.
State v. Blunder,
[¶ 40] This “unpoisoning” оf the fruit may be achieved by the State through the use of the “independent-source exception,” the “inevitable-discovery exception,” or the “attenuation exception” to the exclusionary rule.
Wahl,
1
[¶41] Under the attenuation exception, suppression is not warranted unless “ ‘the challenged evidence is in some sense the product of illegal governmental аctivity.’ ”
Segura v. United States,
[¶ 42] In
State v. Saavedra,
this Court held the defendant’s actions — ignoring an officer’s request to remain in the patrol car, attempting to return to his vehicle before the officers had finished investigating, and engaging in a scuffle with the officers — broke the chain of causation and dissipated the taint of the earlier illegal search.
[¶ 43] To decide whether a defendant’s actions break the chain of causation and dissipate the taint of an earlier illegal search, the following factors may be examined: “the temporal proximity of the illegality and the fruit of that illegality, the presence of intervening circumstances, and the purpose and flagrancy of the police misconduct.”
Saavedra,
[¶ 44] The flagrancy of the police misconduct, important because of the exclusionary rule’s purpose of discouraging such behavior, includes acts such as intentional harassment and use of excessive force.
Id.
The function of deterring police misconduct, however, dоes not extend to
*524
evidence of an independent crime even though it was precipitated by an unlawful search by the government.
State v. Ritter,
[¶ 45] Gregg claims the drugs and drug paraphernalia found in his car would not have been found without the illegal search. In support of his argument, Gregg points to the closeness in- time of the stop to the discovery of the drug paraphernalia in the gym bag in the motel room.
[¶ 46] In addition, he claims the police encouraging him to leave town “can only be rеasonably explained by the desire to make a drug bust because of the fruits of the illegal search.” In
Whren v. United States,
the United States Supreme Court held “[s]ubjective intentions play no role in ordinary, probable-cause Fourth Amendment analysis.”
[¶ 47] The attenuation analysis applies to the present case. The stop and search of Gregg’s car occurred shortly after the illegal search. Even though the State admits the officers’ search of the gym bag was illegal, the record does not reflect “flagrant” police misconduсt such as intentional harassment or excessive force.
■ [¶ 48] The district court found the stop of Gregg’s car was not prompted by the officers’ observations made during the illegal search. The district court found that even without the illegal discovery of the contents of the gym bag, the officers still would have found the evidence in the car because Gregg and Johnson “gave the officers the second crack at the black bag by virtue of getting in a vehicle and driving when all three drivers had thеir licensés suspended.”
' [¶ 49] The officers’ illegal search was not the “but for” cause of the discovery of the evidence found in Gregg’s car. As in Saavedra, the facts support the conclusion that the discovery of the drugs and drug paraphernalia resulted from the intervening circumstances and the willful acts of Johnson and Gregg, not from misuse of the earlier illegal search. We conclude Johnson’s crime of driving under suspension and the drug paraphernalia lying in plain view by Gregg’s feet are means sufficiently distinguishable to purge the evidence of any primary taint.
2
[¶ 50] The State argues the evidence is also admissible under the inevitable-discovery and independent-source exceptions. The independent-source doctrine is based on evidence actually discovered through unrelated means, while inevitable discovery involves a question whether the evidence would have been discovered absent the illegal search.
See Murray v. United States,
[¶ 51] The inevitable-discovery doctrine provides that evidence obtained from information procured in an unlawful search or seizure is admissible under the fruit-of-the-poisonous-tree doctrine if the evidence would inevitably have been discovered without the unlawful conduct.
*525
Handtmann,
3
[¶ 52] The independent-source exception “allows admission of evidence that has been discovered by means wholly independent of any constitutional violation.”
Winkler,
[¶ 53] Suppression of evidence should put the police in the same position they would have occupied had no violation occurred, rather than in a worse position.
State v. Winkler,
Knowledge that the marijuana was in the warehouse was assuredly acquired at the time of the unlawful entry. But it was-also acquired at the time of entry pursuant to the warrant, and if that later acquisition was not the result of the earlier entry there is no reason why the independent source doctrine should not apply. Invoking the exclusionary rule would put the police (and society) not in the same position they would have occupied if no violation occurred, but in a worse one.
[¶ 54] In applying the independent-source exception, we have used a two-step analysis.
Winkler,
[¶ 55] This two-part test may be applied to the present case by analogizing the search warrant to the officers’ stop of Gregg’s car. The first part of the test, requiring that the stop must be supported by probable cause derived from sources independent of the illegal search, is met by our earlier conclusion the stop was made with probable cause to believe Johnson was driving with a suspended driver’s license.
[¶ 56] The second part of the test, rephrased, requires that the stop of Gregg’s car must not have been prompted by the officers’ observations made during the illegal search. The district court found the stop of Gregg’s car was not prompted by the officers’ observations made during the illegal search. The court cоncluded that after the officers put the gym bag back underneath the bed, the officers “start[ed] fresh” and that “no consequences followed from that discovery.” The court found its analysis should then proceed from the assumption that there never was an illegal search.
[¶ 57] The district court’s findings are supported by the evidence. As in Murray, after the misconduct of the officers is removed, it is clear the officers had gained independent knowledge that Gregg, Johnson, and Dodd all had suspendеd driver’s licenses. Thus, the officers still would have been justified in stopping the car for the driving offense, at which time the offi *526 cers would have discovered the same evidence challenged here.
[¶ 58] Excluding the evidence the police officers ultimately obtained by the stop and seizure would not put the officers in the same position they would have been in had they not committed any unlawful conduct; instead, it would put them in a worse position. Accordingly, the evidence is admissible under thе independent-source doctrine.
C
[¶ 59] Because we find the second and third searches of Gregg’s car are excepted from the warrant requirement, the evidence gained from these searches need not be suppressed. The district court’s denial of Gregg’s motion to suppress the evidence found in his car is supported by sufficient competent evidence and is not contrary to the manifest weight of the evidence,
m
[¶ 60] The criminal judgment of the district court is affirmed.
