Former “Home Improvement” actor Taran Noah Smith was convicted of DUI and marijuana possession Wednesday stemming from his arrest earlier this year in Los Angeles.

Smith, 28, was charged after being apprehended over in Los Angeles in February, TMZ reported. The former “Home Improvement” actor caught the eye of local police because he was parked in front of a fire hydrant.

As the officers approached Smith’s vehicle, they smelled marijuana and arrested him.

During his court appearance Wednesday, Smith pleaded guilty to drug possession and no contest to DUI, TMZ reported.

The “Home Improvement” actor has to enter a 12-hour program for the DUI charge and a six-month drug diversion program for marijuana possession, according to TMZ.

Smith was also placed on three years’ probation, according to the gossip site. His next court date is scheduled for June.

Smith is best known for playing middle brother Mark Taylor in the Tim Allen sitcom “Home Improvement,” which also starred Patricia Richardson and Jonathan Taylor Thomas.

Smith also did some voice acting for the television series “Batman Beyond” in 1999 and had a guest role on “7th Heaven” in 1997, according to the actor’s IMDB page.