A 25-year-old man was sentenced Monday to 42 months in prison for a New Year’s Day car crash that injured more than a dozen people on a sidewalk outside a downtown Washington nightclub near Farragut North.

Malik Marvin Lloyd, of Northeast, pleaded guilty in D.C. Superior Court in March to three counts of assault with significant bodily injury, one count of destruction of property and driving under the influence of alcohol.

In a separate case, Lloyd was sentenced to 36 months in prison after pleading guilty to unlawful possession of a firearm and possession with intent to distribute cocaine. That sentence will be served concurrently with the sentence in the crash.

The nightclub incident occurred about 1:30 a.m. at Barcode in the 1600 block of L Street NW. Lloyd was driving a Chrysler 200 north on 17th Street NW when he struck a Honda CRV. Lloyd drove away, turning right onto L Street, and onto the sidewalk.

Prosecutors said the car hit a tree box, a tree and several people who were standing or sitting at an outdoor section of the bar. The car then struck a light pole. Most of the 13 people were slightly injured either by the car or debris. Three people, including Barcode’s bouncer, were seriously injured.

Lloyd told D.C. police that he had two glasses of champagne earlier in the evening. But prosecutors said that while being treated at Howard University Hospital, Lloyd admitted to having smoked marijuana, and his blood alcohol content measured .20, well beyond the District’s legal limit.

The drug and gun charges Lloyd face stem from a search that police executed at his home in Northeast Washington in October 2014. Police said they found PCP and crack cocaine, packing material and two semiautomatic handguns in his bedroom.