In Chicago’s first homicide of 2018, a 51-year-old man was fatally shot a little more than two hours into the New Year while driving on the Northwest Side.

The man was among 12 people shot Sunday and early Monday in attacks across the city as people rang in the New Year amid sub-zero temperatures.

The incidents included two double shootings, a teen injured on the South Side and a man shot after a fight in the Loop.

In the Northwest Side killing, the man was driving a Toyota Camry south on Pulaski Road when he was shot and the car veered into a fence, police said.

The slain man was found in the 3900 block of West Cornelia Avenue around 2:20 a.m. Monday in the Avondale neighborhood with a gunshot wound to the back. He was pronounced dead on the scene.

The car rested on an angle with its passenger door open in front of a fence topped with barbed wire. The man’s body could be seen slumped over the steering wheel.

Some revelers in a nearby bar said they didn’t hear anything over the loud music. They said they only saw the car with fogged up windows when they peeked outside as police arrived.

In the Loop shooting, a 31-year-old man was wounded in the abdomen in the first block of Wabash Avenue after getting in a fight with three other males around 1:45 a.m.

A second man was injured with bruises on his face and body, police said.

Both were taken to Northwestern Memorial Hospital, where their conditions were stabilized.

Police said they recovered a weapon at the scene and are questioning two males.

The large crime scene sprawled across the block on Wabash under the elevated tracks at the Washington and Wabash CTA stop.

A man in jeans limped into an ambulance and was rushed away as people gawked at the scene while leaving bars and parties.

In the final two shootings of 2017, a man and a woman were seriously injured in a Far South Side apartment.

The two were in a residence in the 11500 block of South State Street in the West Pullman neighborhood when shots were fired, police said. They both were rushed to Advocate Christ Medical Center in Oak Lawn.

The man, 33, was in critical condition with gunshot wounds to the abdomen and shoulder. The woman, 30, was in serious condition with a gunshot wound to the face.

In other shootings: