A shooting in the vicinity of two police officers on foot in Flatbush last night prompted a Brooklyn-wide manhunt. Investigators have now determined that, contrary to initial reports, the officers were not the intended target.

The shooting took place at about 10:40 p.m. on East 23rd Street. Police said that the two cops were on patrol when a black Nissan sedan drove up with four guys inside and someone fired at least two shots from the vehicle before the driver took off. The officers were not hit, nor was anyone else.

There are conflicting reports, but the NYPD seems to have either closed or requested to close several bridges during the search for the Nissan. A department spokeswoman said she had no information on bridges being closed.

Earlier in the day, at around 4:30 p.m., officers outside the 66th Precinct station house in Borough Park reported that occupants of a black Nissan Altima flashed gang signs out their window, and made finger guns in the direction of the cops.

No suspects have been identified in either incident, but subsequent investigation showed that the cars were not the same Nissan, and that the incidents were unrelated. Also, police learned that the target of the night-time shooting in Flatbush was a group of people standing 30-40 feet down the block from the beat cops, the department spokeswoman said.

Around midnight, the Sergeant's Benevolent Association published a statement saying that the men in the Nissan in Flatbush said something about "getting them" and fired "at the officers." The union has since backpedaled on the assertion, but is holding off on conceding that the officers were definitely not the targets.

"We aren't taking a firm position on this as of yet," union president Ed Mullins said. "We are trying to confirm information that is based on statements of those who are at the scene or those involved."

"Please remain alert at all times," the group's initial Facebook message urged members. "The SBA will utilize every resource to defend your action."

Police departments across the country are on edge following the fatal shooting of three officers in Baton Rouge on Sunday, and of seven officers in Dallas nine days earlier. The shooters in both attacks have been identified as veterans angry about police killings of African-American civilians.

The NYPD has ordered officers to conduct their shifts, including breaks, in pairs, following the shootings.