UPDATE: Police have concluded shots were never fired at two officers on Thursday. Read PIX11's updated story here.

FLATBUSH, Brooklyn — A massive manhunt is underway after two officers on patrol were shot at by a person inside a car in Brooklyn Thursday night, according to police.

The shooting happened around 10:45 p.m. on Ditmas Avenue and East 23rd Street within the confines of the 70th Precinct in Flatbush.

The NYPD said two officers in uniform were walking their post when a dark-colored sedan with tinted windows slowly approached them and made a statement about "getting them" before firing away at the cops.

The vehicle occupied by four men, described as black, fled the scene, police said.

Both of the officers were not hurt.

Police are investigating whether the same vehicle was responsible for threatening police at the 66th Precinct on Monday around 4:30 p.m. A similar car drove by and made a "gun gesture" to officers standing outside, according to the NYPD.

A few New York City bridges, including Verrazano-Narrows, Brooklyn and Manhattan were temporarily closed in search of the gunman.

Sergeants Benevolent Association President Ed Mullins cautioned officers about the incident in a statement on the SBA Facebook page.

"Please remain alert at all times," Mullins said. "Your safety and the safety of your officers is paramount."

The Brooklyn shooting comes after a recent slew of deadly targeted attacks on police across the U.S., starting on July 8 when a sniper left five officers dead in Dallas.

On Sunday, three Baton Rouge officers on duty were killed by a former Marine. Since this shooting, the NYPD has deployed at least one Critical Response Control officer equipped with a long gun and helmet outside every precinct around the clock, until further notice. A Kansas City police captain was also fatally shot Tuesday afternoon.

Tensions between law enforcement and civilians has been on the rise since two black men in Louisiana and Minnesota were killed by cops earlier this month.

PIX11 reporter Myles Miller and digital producer Andrea Cavalier also contributed to this report.