OPINION
The State of Texas appeals the trial court’s order granting habeas-corpus relief in favor of appellee Matthew Oscar Wolf based on the ineffective assistance of Wolfs trial counsel. The State asserts that Wolf did not show he was confined or restrained pursuant to state action, so as to invoke the trial court’s habeas-corpus jurisdiction. The State also asserts that Wolfs request for habeas relief is barred under the doctrine of laches and that the trial court erred in finding ineffective assistance of counsel. We affirm the trial court’s order.
I. Factual and Procedural Background
On December 23, 2003, while a junior in college, appellee Matthew Oscar Wolf was arrested at a Houston department store. The next day, Wolf was charged with the theft of two shirts and one pair of pants with a value of more than $500 and less than $1,000. Wolf retained attorney Glen Devlin to represent him. One week after he was charged, under a plea bargain, Wolf pleaded “guilty”, and the trial court signed an order assessing a fine of $150, deferring adjudication of guilt, and placing Wolf on community supervision for nine months, as agreed in the plea bargain. Wolf successfully completed the community supervision. On October 15, 2004, the trial court signed an order for nondisclosure.
After Wolf graduated from college, he obtained employment as a custody-fund accountant. Because the order for nondisclosure does not prevent certain agencies from learning about Wolfs arrest, this arrest was uncovered in a search conducted at the request of Wolfs employer. The employer terminated Wolfs employment based on this arrest.
Wolf filed an application for writ of ha-beas corpus in the trial court asserting, among other things, the following:
• Wolf seeks habeas relief under the Texas Constitution and section 11.09 of the Texas Code of Criminal Procedure.
• Wolfs plea bargain was the result of Devlin’s ineffective assistance of counsel.
• Wolf told Devlin that he was guilty and that he needed to resolve the case in a manner that would enable him to clear his record so that he could work in the banking and securities industry after graduation.
• Devlin told Wolf that new legislation would enable Wolf to have his record sealed if Wolf successfully completed a deferred-adjudication community supervision. Devlin did not mention pretrial diversion or a “Class C special expense,” 1 and Wolf did not know about these options.
• Relying on Devlin’s assurance that Wolfs record could be sealed if he successfully completed a deferred-adjudication community supervision, *163 Wolf agreed to the plea bargain negotiated by Devlin. Wolf successfully completed the community supervision and obtained an order for nondisclosure.
• However, despite the order for nondisclosure, certain agencies still are able to access Wolfs arrest information. As a result, Wolfs first post-graduation employer learned of Wolfs arrest and terminated his employment. Wolf cannot work in the banking and securities industry because of the record of his arrest for theft.
• Wolf would not be suffering this collateral consequence if Devlin had sought and obtained either pretrial diversion or a Class C special expense because, in that event, Wolf would have been able to have the record of his arrest expunged.
• Devlin’s failure to seek on Wolfs behalf either pretrial diversion or Class C special expense constituted ineffective assistance of counsel that prejudiced Wolf.
The trial court granted the writ and held a hearing on Wolfs request for relief. At the hearing, Devlin testified as follows:
• Because Devlin believes that he does not have a continuing fiduciary duty to Wolf, he destroyed all of the file regarding his representation of Wolf, except for one written statement by Wolf. Devlin does not recall exactly when he destroyed these documents, but it was sometime in 2004 or 2005.
• Though Devlin is sure he met with Wolf to discuss Wolfs case, he does not remember what was said at that meeting.
• Devlin believes that he negotiated the plea bargain for Wolf on December 31, 2003, the day on which Wolf pleaded “guilty”.
• Devlin did not apply to the district attorney for pretrial diversion for Wolf because Devlin did not think that Wolf would get pretrial diversion. Devlin did not even advise Wolf that he could apply for pretrial diversion.
• Devlin is sure that he asked the prosecutor in this case for a Class C special expense because he does so in every case. However, Devlin did not present the prosecutor with any information in support of such a request.
• In his practice of law, to the best of his recollection, Devlin has applied for pretrial diversion for “less than a dozen” clients, and it was granted one time.
Wolf testified at the hearing as follows:
• On December 23, 2003, Wolf was arrested for stealing clothes from a Houston department store. Wolf was not employed by the department store in question.
• After Wolf was charged, he found Dev-lin by using the “Yellow Pages.” Wolf and his father met with Devlin. At the time Wolf was a junior in college, majoring in economics. Wolf told Devlin that he had committed the theft.
• Wolf also told Devlin that Wolf wanted to have a clear record so that he could be employed in the financial services industry. Wolfs father also discussed this issue with Devlin.
• Devlin presented Wolf with two options: (1) plead “guilty” and accept deferred adjudication or (2) plead “not guilty” and go to trial. Devlin told Wolf that, if he successfully completed deferred adjudication, Wolf could later have his record sealed, which Wolf understood to mean that the record would be sealed from the public.
• Devlin did not mention that the governmental body that would license *164 Wolf in the financial industry could have access to Wolfs record even after the record was “sealed.”
• Devlin did not mention pretrial diversion or Class C special expense.
• Wolf next saw Devlin in the courtroom on December 31, 2003. Wolf accepted the State’s plea bargain offer. Wolf would not have accepted this plea bargain offer if Devlin had told him that Wolfs record would not be sealed from the financial industry.
• Wolf completed his deferred adjudication probation and obtained an order of nondisclosure, which he believed would keep the financial industry from learning about his arrest record.
• Wolf graduated with a degree in economics in June 2005. Wolf obtained full-time employment; however, on November 2, 2005, his employer terminated his employment based on its discovery of his arrest record following a records search. Since this termination, Wolf has been unable to work in the securities industry. Wolf will not ever be able to work in that industry as long as his arrest record exists.
• Wolf has since learned that, had he received a pretrial diversion or a Class C special expense, his arrest record could have been expunged. If Devlin had advised Wolf about a pretrial diversion and a Class C special expense, Wolf would have asked Devlin to pursue both of these options and would have provided Devlin with Wolfs high school and college transcripts, character letters, or anything else Devlin requested.
At the hearing, the trial court admitted into evidence the affidavits of nine criminal defense lawyers who testified to their success at obtaining either pretrial diversion or Class C special expense for clients such as (1) two high school students with professional aspirations who, in separate incidents, stole clothes from department stores and were charged with misdemean- or theft, (2) a college student with no criminal record charged with misdemeanor theft for stealing clothes from a department store, (3) a man in his twenties who had never been in trouble before and who was charged with a state jail felony for receiving a stolen computer, (4) a nursing student charged with credit card abuse, (5) a 28-year-old woman, who was bipolar and easy to manipulate, alleged to have stolen $100 worth of beer from a grocery store, (6) a young man with mental disabilities who was involved in the misdemeanor theft of merchandise from a store, (7) a 23-year-old oil and gas consultant with no criminal record charged with misdemeanor theft, (8) a stockbroker in his late twenties charged with possession of less than one gram of cocaine, and (9) a college student with no criminal record, charged with a state jail felony, who stole more than $1,500 in cash from the clothing store in which he worked.
Seven of these criminal defense lawyers testified to their professional beliefs that a reasonably competent lawyer in Harris County would try to obtain pretrial diversion or a Class C special expense for a first offender charged with misdemeanor theft. One of the lawyers testified that a reasonably competent lawyer would toy to obtain pretrial diversion or a Class C special expense for a young adult with professional aspirations and that, in his experience, there is a reasonable probability that such a case would be resolved in a manner that would enable the client to have his record expunged. Another lawyer testified that a reasonably competent lawyer representing Wolf would have requested pretrial diversion or a Class C special expense and that, based on his experience, there is a reasonable probability that Wolfs case would *165 have been resolved in a manner that would have made Wolf eligible for an expunction of his criminal record.
The trial court granted relief and issued the following findings of fact and conclusions of law:
• Wolf cannot work in the banking and securities industry because of his arrest for theft.
• Wolf told Devlin that Wolf needed to resolve the case in a manner that would enable him to clear his record so that Wolf could work in the banking and securities industry following graduation.
• Devlin advised Wolf that recent legislation would enable Wolf to have his record sealed if he successfully completed a deferred adjudication probation. Devlin did not explain that the Securities and Exchange Commission (“SEC”) and similar agencies still could discover the arrest.
• Devlin did not advise Wolf that he could apply for pretrial diversion or request a Class C special expense, either of which would have enabled Wolf to have his record expunged if successfully completed.
• Wolf accepted the plea bargain in reliance on Devlin’s advice that his record could be sealed if he successfully completed a deferred adjudication probation.
• Wolf would not have accepted the plea bargain had Devlin advised him that, if he received pretrial diversion or a Class C special expense, the record of his arrest could be expunged, but if he were placed on deferred adjudication probation, the SEC and similar agencies could discover his arrest. Instead, he would have instructed Devlin to seek a resolution that would enable him to have the record of his arrest expunged.
• Devlin did not submit an application to the district attorney’s office for pretrial diversion, nor did he request a Class C special expense on Wolfs behalf.
• Competent criminal defense lawyers in Harris County have obtained pretrial diversion or a Class C special expense for high school, college, and graduate students charged with misdemeanor theft who have professional aspirations.
• Devlin’s performance was deficient in failing to apply for pretrial diversion, request a Class C special expense, or advise Wolf of these options.
• Devlin was deficient in failing to advise Wolf that, if Wolf successfully completed a deferred adjudication probation, the SEC and similar agencies could discover his arrest for theft even if his record were sealed.
• Wolfs “guilty” plea was involuntary as a result of ineffective assistance of counsel.
II. Issues Presented
On appeal, the State asserts the following issues:
(1) The doctrine of laches prevents Wolf from obtaining relief because his defense attorney destroyed his file and forgot important details of this case while Wolf delayed filing an application for writ of habeas corpus.
(2) Wolf is not confined or restrained pursuant to state action, and therefore the trial court lacked jurisdiction to issue the writ.
(3) Wolfs trial counsel was not deficient in securing his client a plea agreement for deferred adjudication.
(4) Wolf was not directly harmed by any deficient performance of his trial counsel.
*166 III. Standard of Review
The applicant for a writ of habe-as corpus has the burden of proving his allegations by a preponderance of the evidence.
Kniatt v. State,
IV. Analysis
A. Did the trial court lack jurisdiction because the applicant for habeas relief is not confined or restrained pursuant to state action?
Addressing the State’s jurisdictional challenge first, we begin by considering the State’s assertion, in its second issue, that the trial court lacked jurisdiction because Wolf is not confined or restrained pursuant to state action.
2
To be entitled to habeas relief under article 11.09, an applicant must be “confined on a charge of misdemeanor.” Tex.Code GRIM. Proc. Ann. art. 11.09 (Vernon 2005). For a county court at law to have habeas jurisdiction under the Texas Constitution, an applicant’s liberty must be restrained.
See Ex parte Schmidt,
In examining whether an applicant for habeas relief successfully invoked the trial court’s habeas-corpus jurisdiction, some courts have found a lack of habeas-corpus jurisdiction because the applicant’s petition did not show that the applicant was confined or restrained pursuant to any state action.
See Ex Parte Paprskar,
B. Is habeas-corpus relief barred by laches?
In its first issue, the State asserts that the trial court erred by not ruling that the requested habeas relief was barred by laches. As an initial matter, we note that the State did not raise laches in any written filing with the trial court, and it did not mention laches at the hearing until closing argument. Wolf asserts that, because the State did not plead laches and because the State did not put Wolf on notice that it was asserting laches until after the close of evidence at the hearing, the State did not preserve error. We presume for the sake of argument that the State may argue on appeal that, based on the evidence presented, the trial court abused its discretion by not ruling that the doctrine of laches bars the relief requested by Wolf.
At the hearing, the State had the burden to (1) make a particularized showing of prejudice to its ability to respond to the allegations in Wolfs application, (2) show that the prejudice was caused by Wolf having filed a late petition, and (3) show that Wolf has not acted with reasonable diligence as a matter of law.
See Ex parte Carrio,
As to diligence, the record reflects that the trial court signed the challenged order on December 31, 2003, and that Wolf was fired from his first job after graduation on November 2, 2005. Wolf filed an application for habeas-corpus relief on December 13, 2007. The State did not present evidence relating to Wolfs diligence in seeking habeas-corpus relief. Wolf stated on direct examination that he was surprised that his employer had been able to learn about his arrest record. Wolf further testified that, some time after October 25, 2005, he discovered that the order of nondisclosure did not prevent the SEC from learning of his arrest record and that he learned about the availability of pretrial diversion and Class C special expense. Nonetheless, the record is silent as to when after October 25, 2005, Wolf made this discovery.
On appeal, the State asserts that Wolf did not act with reasonable diligence as a matter of law because he did not file this application until more than two years after the termination of his employment and because the statute of limitations for legal malpractice cases is two years. However, the State has cited no case, and we have found none, that bases the laches determination in a habeas-corpus proceeding on the statute of limitations for a client’s negligence claim against his attorney. Even if this court were to look to this statute of limitations, we note that it is governed by
*168
the “discovery rule,” under which limitations does not begin to run until the claimant discovers or should have discovered through the exercise of reasonable care and diligence the facts establishing the elements of his claim.
See Willis v. Maverick,
Even if the State had proved a failure by Wolf to act with reasonable diligence as a matter of law, the State did not make a particularized showing of prejudice to its ability to respond to the allegations in Wolfs application.
See Ex parte Carrio,
C. Did the trial court abuse its discretion in finding ineffective assistance of counsel?
The trial court found ineffective assistance of counsel. In reviewing claims of ineffective assistance of counsel, we apply a two-prong test.
See Ex parte Lemke,
1. Did the trial court err by concluding that the securing of a plea bargain for deferred adjudication constituted ineffective assistance of counsel?
In its third issue, the State asserts that Wolf did not prove the first prong of the test for ineffective assistance of counsel. The State asserts that Devlin’s securing of a plea bargain for deferred adjudication was not ineffective. The State’s main argument is that Devlin had no duty to warn Wolf that banking or securities entities might have access to his arrest record because attorneys allegedly have no duty to warn their clients about every possible collateral consequence of a “guilty” plea. However, the cases cited by the State are not on point because they involve the sufficiency of the trial court’s admonishment of a defendant when he pleads “guilty” rather than allegations of ineffective assistance of counsel.
See State v. Jimenez,
The State cites testimony from Devlin that he did not apply on behalf of Wolf for pretrial diversion because Devlin did not think Wolf would receive pretrial diversion. The State claims that this is evidence of Devlin’s trial strategy and asserts there is no credible evidence to condemn this trial strategy. However, the record contains considerable evidence to indict this alleged strategy. Wolf testified that he told Devlin that Wolf needed to resolve the case in a manner that would enable him to clear his record so that he could pursue a career in the banking and securities industry after graduation. The record contains evidence that sometimes after considering a packet in support of a request for pretrial diversion, the district attorney’s office will deny the request for pretrial diversion and instead agree to allow a Class C special expense. Instead of advising Wolf regarding the two possible means of achieving Wolfs stated goals and instead of pursuing these two means, Dev-lin advised Wolf to pursue and then pursued a plea bargain that would not achieve Wolfs goals. Devlin’s testimony that he did not apply for pretrial diversion because Devlin did not think he would succeed does not conclusively prove that Devlin acted
*170
reasonably and pursuant to a sound strategy. The above evidence rebutted the strong presumption that Devlin’s actions and decisions were reasonably professional and were motivated by sound trial strategy.
See Ex parte Lemke,
The record contains sufficient evidence to support the trial court’s finding that Devlin’s legal representation of Wolf fell below an objective standard of reasonableness. Under the applicable standard of review, the trial court did not abuse its discretion in concluding that Wolf proved the first prong of the test for ineffective assistance of counsel. See id. Accordingly, we overrule the State’s third issue.
2. Did the trial court err by concluding that counsel’s deficient performance resulted in prejudice?
In its fourth issue, the State asserts that Wolf did not prove the second prong of the test for ineffective assistance of counsel. In a very brief argument under this issue the State first asserts that Wolf failed to prove that, but for Devlin’s deficient performance, Wolf would not have pleaded “guilty” and instead would have insisted on going to trial. The “prejudice” prong of the test for ineffective assistance of counsel sometimes has been stated in this manner on occasions when counsel’s deficient performance allegedly deprived the defendant of his right to a trial.
See Johnson v. State,
Wolf testified that he told Devlin that Wolf needed to resolve the case in a manner that would enable him to clear his record so that Wolf could work in the banking and securities industry after graduation. Wolf stated that, if Devlin had advised Wolf about a pretrial diversion and a Class C special expense, Wolf would have asked Devlin to pursue both of these options and would have provided Devlin with Wolfs high school and college transcripts, character reference letters, and anything else Devlin requested to pursue those options. One lawyer testified that a reasonably competent lawyer would try to obtain pretrial diversion or a Class C special expense for a young adult with professional aspirations and that, in his experience, there is a reasonable probability that such a case would be resolved in a manner that would enable the client to have his record expunged. Another lawyer testified that a reasonably competent lawyer representing Wolf would have requested pretrial diversion or a Class C special expense and that, based on his experience, there is a reasonable probability that Wolfs case would have been resolved in a manner that would have made Wolf eligible for an expunetion of his record. The evidence supports the finding of a reasonable probability that, but for Devlin’s deficient performance, the result of the proceeding would have been different.
See Johnson,
V. Conclusion
The trial court had jurisdiction over Wolfs application for habeas-corpus relief. The State did not prove that the relief Wolf sought was barred by the doctrine of laches as a matter of law, and the trial court did not abuse its discretion by declining to rule that Wolfs requested relief was barred by laches. Under the applicable standard of review, the trial court did not abuse its discretion in concluding that Wolf satisfied both prongs of the test for ineffective assistance of counsel. Accordingly, we affirm the trial court’s order granting habeas-corpus relief.
Notes
. Under article 45.051 of the Texas Code of Criminal Procedure, a defendant may plead “guilty” or "nolo contendere” to a Class C misdemeanor and receive deferred-adjudication probation. See Tex.Code Crim. Proc. Ann. art. 45.051 (Vernon Supp. 2009). If a defendant successfully completes his probation, and tíre trial court dismisses the complaint under this statute, then records relating to this complaint may be expunged. See id. art. 45.051(e). For ease of reference, throughout this opinion, we refer to deferred-adjudication probation under this statute as "Class C special expense,” which the record reflects is a common shorthand reference for this type of probation.
. Wolf asserts that the State failed to preserve error as to its second issue; however, because in this issue, the State attacks the trial court’s jurisdiction as well as this court’s appellate jurisdiction, preservation of error was not necessary.
See McGowan v. State,
. The other cases cited by the State do not address state action and do not indicate that there is no habeas-corpus jurisdiction on the facts before us.
See State v. Collazo,
