The appellants, Stewart and Lark, are state prisoners serving sentences in the New Mexico State Penitentiary. Their appeals present identical questions and were consolidated for disposition in this court. They brought separate habeas corpus proceedings in the United States District Court for the District of New Mexico alleging, in substance, that their convictions were void because neither had been represented by counsel when they were brought before a state magistrate for a preliminary hearing. Lark alleges that he requested an attorney to represent him at that time. This allegation was denied. After the preliminary hearings each was represented by competent counsel. Stewart pleaded guilty to the charges against him, and Lark was convicted by a jury after a plea of not guilty. The district court dismissed the habeas corpus petitions without a hearing.
State prisoners may obtain relief in federal courts only when rights guaranteed them by the Constitution of the United States have been denied. Mooneyham v. State of Kansas, 10 Cir., 339 F.2d 209; Oyler v. Taylor, 10 Cir., 338 F.2d 260; Ramsey v. Hand, 10 Cir., 309 F.2d 947, cert. denied 373 U.S. 940, 83 S.Ct. 1547,10 L.Ed.2d 695. Under circumstances similar to those presented here, we have repeatedly held that an accused does not have a constitutional right to be represented by an attorney at a preliminary hearing. Hickock v. Crouse, 10 Cir., 334 F.2d 95, cert. denied 379 U.S. 982, 85 S.Ct. 689, 13 L.Ed.2d 572; Latham and York v. Crouse, 10 Cir., 320 F.2d 120, cert. denied 375 U.S. 959,
Affirmed.