(a) The Secretary shall forthwith revoke the driver's license or driving privileges of a person convicted of a violation of § 4177 of this title or any offense under the laws of any state or of the United States or local jurisdiction or the District of Columbia which prohibits driving under the influence of alcohol or drugs. The Secretary shall revoke the person's driver's license or driving privileges for 1 of the following periods, as applicable:
(1) First offense. — 12 months; except that if the person's blood alcohol concentration was .15 or greater, but less than .20, the revocation period must be 18 months, or if the person's blood alcohol concentration was .20 or greater, or the person refused a chemical test, the revocation period must be 24 months.
(2) Second offense. — 18 months; except that if the person's blood alcohol concentration was .15 or greater, but less than .20, the revocation period must be 24 months, or if the person's blood alcohol concentration was .20 or greater, or the person refused a chemical test, the revocation period must be 30 months.
(3) Third offense. — 24 months; except that if the person's blood alcohol concentration was .15 or greater, but less than .20, the revocation period must be 30 months, or if the person's blood alcohol concentration was .20 or greater, or the person refused a chemical test, the revocation period must be 36 months.
(4) Fourth or further subsequent offenses. — 60 months regardless of the person's blood alcohol concentration.
(b) (1) The Secretary shall reinstate the driver's license or driving privileges of a person sentenced under § 4177(d) of this title if the person does 1 of the following:
a. Completes the requirements for reinstatement under § 4177C(d) of this title.
b. Completes the requirements for reinstatement under the Court of Common Pleas Driving Under the Influence Treatment Program under § 4177C(g) of this title.
(2) The Secretary shall reinstate the driver's license or driving privileges of a person sentenced under § 4177(d) of this title who is not eligible for the IID Program under § 4177G of this title, or who did not apply to obtain an IID license or participate in the IID Program under §§ 4177C and 4177G of this title and whose license revocation period under this section has elapsed, if the person does all of the following:
a. Pays all fees under the schedule adopted by the Secretary.
b. Satisfactorily completes a course or program established under § 4177D of this title.
c. Does not operate a vehicle during the person's revocation period.
(c) (1) Notwithstanding the requirement in subsection (b) of this section that the Secretary reinstate the driver's license or driving privileges of a person sentenced under § 4177(d) of this title if the person complies with the requirements for reinstatement, the Secretary may refuse to reinstate the person's driver's license or driving privileges if the Secretary finds that the person has not been of good behavior for the entire period of the revocation.
(2) The Secretary must provide the person, in writing, with the basis for the finding and the conditions to be met to reinstate the person's driver's license or driving privileges.
(3) If the Secretary refuses to reinstate the person's driver's license or driving privileges under this subsection after the person's revocation period has ended and the person has paid all fines or fees, the person may appeal the Secretary's decision to the Superior Court for the county in which the person resides.