A year-old New Jersey law that imposes longer jail sentences for driving with a license suspended or revoked for drunken driving is not ex post facto, a state appeals court says.

The Appellate Division ruled on Thursday that the statute, N.J.S.A. 2C:40-26(b), may be used for any arrest of a driver found in violation after its effective date, Aug. 1, 2011.