Turkish officials said Saturday morning the government had appeared to have repelled an attempted military coup following a night of explosions, air battles and gunfire across the capital that left at least 17 dead, according to state-run media.

President Recep Tayyip Erdogan, in an interview over FaceTime with the CNN Turk station, dismissed the military action as “an attempt at an uprising by a minority within our armed forces.” His office declined to disclose his whereabouts, saying only that he was in a secure location.

Turks took to the streets of cities across the country waving national flags throughout the attempted coup to show their support for the government.

By Saturday morning, a top Turkish official said the coup attempt appeared to have been repelled. The senior official told The Associated Press that all government officials were in charge of their offices. The official requested anonymity because of the sensitivity of the issue.

Ad:See How you can turn $500 into $10,000 Click HERE For Details.