
667 S.E.2d 617 (2008)
BALDWIN
v.
BEDFORD.
No. S08A1041.
Supreme Court of Georgia.
October 6, 2008.
Brandon Baldwin, pro se.
Thurbert E. Baker, Attorney General, Debraé C. Kennedy, Assistant Attorney General, for appellee.
SEARS, Chief Justice.
Brandon Baldwin, a repeat felon and defendant in a pending criminal proceeding, is incarcerated in Fulton County on charges of kidnapping, possession of a firearm during the commission of a felony, and possession of a firearm by a convicted felon. On August 14, 2007, acting pro se, he filed a pretrial petition for writ of habeas corpus naming the trial judge in his pending criminal case, the Honorable T. Jackson Bedford, Jr., as the defendant. Judge Bedford filed a motion to dismiss, and after reviewing the pleadings, the habeas court dismissed the writ petition on grounds of failure to state a claim upon which relief can be granted, failure to name the proper defendant (i.e., the jailer, not the trial judge), and absolute judicial immunity. Baldwin filed a timely pro se notice of appeal.
Baldwin claims his constitutional rights were violated when he was confined to 24-7 lockdown after another inmate reported that he was plotting to assassinate Judge Bedford. In addition, he asserts that Judge Bedford denied him his statutory right to a speedy trial.[1] However, Baldwin admits that he is in the custody of the Fulton County Sheriff and not Judge Bedford, concedes he served the wrong party, and acknowledges his failure to take any steps in the trial court to have the Fulton County Sheriff substituted as a defendant in Judge Bedford's place. No matter how liberally we construe Baldwin's habeas petition, we cannot ignore the fact that he sued the wrong party and that the proper defendant was never served or given a meaningful opportunity to present a defense against Baldwin's claims. Accordingly, the trial court did not err in dismissing the habeas petition.
Judgment affirmed.
All the Justices concur.
NOTES
[1]  Baldwin did not appeal Judge Bedford's written order denying his speedy trial motion.
