A police officer was shot twice in Huntington Station on Wednesday just before midnight, setting off a massive hunt for the shooter, Suffolk police said.

The Second Precinct officer was on duty when he was shot on Mercer Court, just off Jericho Turnpike, police said.

The officer was airlifted to Stony Brook University Hospital, but no details were available early Thursday morning about his identity, condition, the number of shots fired and the circumstances surrounding the shooting.

PhotosRecent LI mug shotsDataLI crime stats

Suffolk police cars began gathering at the hospital early Thursday morning in the hours after the shooting, and several police cars were parked outside the ambulance entrance.

advertisement | advertise on newsday

Detectives and patrol officers immediately launched a search for the shooter, and marked and unmarked police cars from various precincts zoomed up and down the major thoroughfares in the area.

A Suffolk police spokeswoman could not confirm that anyone was in custody as of 2:15 a.m. Thursday.

Officers set up a wide perimeter around the shooting scene, a residential area near one of Huntington Town's major commercial areas, Jericho Turnpike and the Walt Whitman Shops. Police blocked parts of the eastbound Jericho Turnpike and Route 110 as the investigation continued on Thursday morning.

Suffolk County Executive Steve Bellone and Police Commissioner Edward Webber are expected to address the media about the shooting at the hospital about 3:15 a.m. Thursday.

With Candice Ruud and Will James