Pеtitioner Robert Terry (“Terry”) appeals from a district court order denying his petition for a writ of habeas corpus pursuant to 28 U.S.C. § 2254. Because Terry received a full and fair opportunity to litigate his Fourth Amеndment claims before the Illinois state courts,
Stone v. Powell,
I.
When considering a petition for a writ of habeas corpus challenging a state court judgment, we accept the facts as found by the state court.
Smith v. Fairman,
Before trial, Terry movеd to suppress the heroin, contending that the search of Coward’s apartment violated his Fourth Amendment rights, and the trial court held an evi-dentiary hearing on the motion. A Chicago police detective testified that he entered the apartment at the front door and that when he entered, he saw Terry sniffing the white powder at the dining room table. Terry testified that at the time the police searched thе apartment, he was visiting Coward and her husband for the purpose of buying heroin. He further testified that he did not live at the apartment and that he did not intend to spend the night at the apartment or stay longer than nеcessary to finish the drug transaction. He stated that he did not have a key to the apartment, did not keep any clothes at the apartment, and did not intend to leave the brown bag there after he left. After hearing his testimony and the arguments of counsel, the trial court denied his motion, finding that Terry had no standing to object to the search. The court concluded that Terry had no expectation of privаcy which society was willing to accept. After a stipulated bench trial in the Circuit Court of Cook County, Terry was convicted of possession of a controlled substance, and the court sentenced him to twenty-four months probation.
Terry appealed his conviction to the Appellate Court of Illinois, First Judicial District, contending that the trial court erred in denying his motion to suppress. The appellаte court affirmed, and both the Illinois Supreme Court and the United States Supreme Court declined review of Terry’s case. Terry then filed the instant petition for a writ of habeas corpus.
II.
Terry contends that hе is entitled to a writ of habeas corpus because his conviction was based in part upon evidence which the police seized during an illegal search. However, before we may considеr the merits of Terry’s Fourth Amendment claim, we must determine whether Terry’s claim falls within the substantive scope of the habeas corpus writ.
Pierson v. O’Leary,
*663
As the district court noted, in
Stone v. Powell,
The record reveals thаt Terry clearly presented the factual basis for his Fourth Amendment claim to the Illinois courts and that he fully litigated the matter before the Illinois courts. Terry filed a motion to suppress in the trial court, contеnding that he was present at Coward’s apartment under circumstances which gave him a reasonable expectation of privacy in the apartment and that the police entered the аpartment without a warrant and without probable cause, thereby violating his Fourth Amendment rights. Before ruling on his motion, the trial court held a hearing at which it entertained testimony from witnesses and the arguments of counsel. Additionally, Terry fully briefed his Fourth Amendment claim and presented oral argument on the claim before the appellate court.
Even though he presented his claim to the Illinois courts, Terry maintains that hе did not have a full and fair opportunity to litigate it because the Illinois courts did not apply the proper constitutional case law. Under Supreme Court case law, a person may object to a search only if he has “a legitimate expectation of privacy in the invaded place.”
Katz v. United States,
However, Terry maintains that the Illinois courts applied the incorrect legal standard because the courts refused to recognize that
Minnesota v. Olson,
*664
Moreover, both courts thorоughly analyzed the facts of Terry’s case. The courts evaluated Terry’s relationship to the searched apartment, finding that he had no key to the apartment, no belongings inside the apartment, and no intent to remain at the apartment longer than necessary to complete his drug transaction. (3/24/95 Rule 23 Order at 4-5; Rep. of Proceedings on 2/15/94 at 25, 30). Based on these facts, the courts concluded that Terry was a temporary visitor with no connection to the apartment other than his criminal activities and that, as such, he had no legitimate expectation of privacy in the apartment. (3/24/95 Rule 23 Order аt 9; Rep. of Proceedings on 2/15/94 at 25, 30). Thus, the Illinois courts carefully and thoroughly analyzed the facts of Terry’s case in light of the appropriate constitutional ease law, and
Stone
should preclude Terry from obtaining federal habeas relief.
See Pierson,
Finally, Terry contends that hе did not have a full and fair opportunity to litigate his Fourth Amendment claims before the Illinois courts because the courts concluded that Terry lacked standing to contest the search of the apаrtment. He implicitly reasons that by concluding that he lacked standing, the Illinois courts concluded that they could not litigate his claim. However, the Supreme Court has explained that any theoretical distinсtion between standing to raise a Fourth Amendment claim and the merits of that Fourth Amendment claim is illusory.
Rakas,
III.
Terry presented the factual and legal basis for his Fourth Amendment claim to the Illinois state courts and the Illinois courts carefully analyzed those factual and legal arguments. The courts concluded under the proper constitutional case law that Terry had no standing to challenge the contested search. Thus, the Illinois courts afforded Terry a full and fair opportunity to litigate his Fourth Amendment claim, and he is not entitled to federal habeas review of that claim. The district court order denying Terry’s petition for a writ of habeas cоrpus is Affirmed.
Notes
. Both courts did note Olson, but they determined that it applied to overnight house guests only. Thus, they construed Terry's arguments as asking the courts to extend the rule in Olson to apply to temporary day visitors as well. However, relying on Illinois precedent, both courts declined to extend Olson. (3/24/95. Rule 23 Order at 8; Rep. of Proceedings on 2/15/94. at 24).
