Opinion by
Judge Rogers,Richard Allen Curtis has appealed from an order of the Court of Common Pleas of Chester County dismissing his appeal from the action of the Secretary *115of Transportation revoking Ms motor vehicle operating privileges for a year. The Secretary acted pursuant to Section 616(a)(4) of The Vehicle Code, Act of April 29, 1959, P.L. 58, as amended, 75 P.S. §616(a) (4),1 after receiving a certification from the clerk of courts that Curtis had pleaded guilty to possession of marijuana in violation of Section 13(a) (16) of the Controlled Substance, Drug, Device and Cosmetic Act, Act of April 14, 1972, P.L. 233, as amended, 35 P.S: §780-113(a) (16).
There is no dispute as to the facts. On November 20, 1974, Curtis was stopped by police on account of an apparent violation of operating laws. Curtis gave the police permission to search Ms vehicle, during which they found a small quantity of marijuana under the passenger seat. Curtis was charged with and pleaded guilty to the crime of possessing marijuana as above recorded.
Curtis received written notice of the revocation of his operating privileges on September 16, 1975. He appealed to the Court of Common Pleas of Chester County which conducted a hearing on February 5, 1976. Its decision upholding the revocation of Curtis’s operating privileges was rendered on April 28, 1977. Curtis then appealed to this Court.
Curtis first asks us to reconsider our decision in Commonwealth v. Wharrey, 26 Pa. Commonwealth Ct. 508, 365 A.2d 181 (1976). There we held that Section 616(a)(4) was not violative of the equal protection rights of one who had marijuana in his vehicle but who was in fit condition to drive, because we believed that the State has a legitimate interest in preventing the operation of motor vehicles by persons then in unlawful possession of a controlled substance. Curtis *116says that the Wharrey holding should he disavowed because a new Vehicle Code2 enacted after the decision in that case does not provide for the revocation of the operating privileges of one who is convicted of operating a motor vehicle while in unlawful possession of a controlled substance. Clearly a decision of the Legislature to treat a course of conduct in new legislation more leniently than it had in a former superseded Act, casts no cloud on the constitutionality of the old, replaced enactment. We reaffirm our holding in Commonwealth v. Wharrey, supra, that the State does have a legitimate interest in regulating this type of conduct and may do so if it so chooses.
Curtis next says that the revocation should be set aside because it cannot now become effective until his appeal is disposed of, a date which will be later than July 1, 1977, the effective date of the new Vehicle Code. This contention is entirely meritless. Section 4 of the new Vehicle Code3 provides:
The provisions of Title 75 of the Pennsylvania Consolidated Statutes as added by this act shall not affect any act done, liability incurred, or right accrued or vested, or affect any suit or prosecution pending or to be instituted to enforce any right or penalty, or punish any offense, under the authority of any statute repealed by this act.
Order affirmed.
Order
And Now, this 5th day of October, 1978, the order of the Court of Common Pleas of Chester County dated April 28, 1977 is affirmed.
Repealed by Tbe Vehicle Code, Act of June 17, 1976, P.L. 162, 75 Pa. C.S. §101 et seq.
Act of June 17, 1976, P.L. 162, 75 Pa. O.S. §101 et seq.
Sections 2 through 8 of the Act, which appear not to have been assigned a Pa. O.S. section number, appear in 75 Pa. O.S. immediately following §8122.