Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

ISTANBUL, Turkey — At least one assailant opened fire near the U.S. Consulate in Istanbul early Monday, sparking a gunfight with police, witnesses and local media said.

A female suspect was detained but a male fled, police sources told NBC News.

Streets near the U.S. Consulate in Istanbul, Turkey, were sealed off Monday. Richard Engel / NBC News

Roads around the building, which is located in the Sariyer district, were sealed off by armed police.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

Dramatic cellphone video taken by a witness showed an exchange of gunfire with police.

A passerby who was on his way to work at about 7 a.m. (1 a.m. ET) told NBC News he heard guards shouting at a woman who was carrying a bag and a pistol and was running down the street. She ran to a nearby building and was shot by security services, the witness added.

It came hours after the U.S. military announced that a detachment of six F-16 fighter jets have arrived at Turkey's southern Incirlik Air Base to join the fight against ISIS militants.

A spokesman for the U.S. Consulate said there had been "an incident," adding: "We are working with Turkish authorities to investigate the incident." He said the diplomatic site would remain closed "until further notice."

Incident this AM near US Consulate Istanbul. Working w/ Turkish authorities to investigate. Consulate closed to public till further notice. — ABDIstanbul (@ABDIstanbul) August 10, 2015

Separately, an explosion at a police station in the Istanbul neighborhood of Sultanbeyli killed three people and injured at least 10, Dogan reported.