The driver of a car that crashed into a midtown fire hydrant was arrested and charged with vehicular manslaughter, police said.

Shiva Sharma, 32, was driving north on Sixth Avenue near 54th Street around 4 a.m. on Tuesday when he lost control of the car, and drove onto the sidewalk, hitting the fire hydrant, police said.

Juan Avila, the 33-year-old passenger, was rushed to Mount Sinai St. Luke’s Hospital where, police said, he was pronounced dead. Avila was from Jackson Heights, cops said.

Sharma, from Wyandanch, was taken to Bellevue Hospital Center in critical but stable condition, according to police.

The investigation is ongoing.