A car passes by a security booth with a bullet hole in a window at the entrance of the US Embassy in Ankara. Photo: AFP

Officials in the Turkish capital announced that two suspects had been arrested in connection with a drive-by shooting at the US Embassy in the city, local media reported.

Bullets were fired at the embassy from a passing white car at 5:30am local time on Monday, a statement from the governor’s office said.

The shooting comes as relations between Ankara and Washington continue to deteriorate, after Turkey’s detention of an American pastor on charges of terrorism. The administration of US President Donald Trump has slapped sanctions on Turkey for not complying with a demand to release the US citizen, Andrew Brunson.

On Friday, a Turkish court rejected Brunson’s appeal of his house arrest.

The US Embassy thanked Turkish authorities for the swift response to the incident on Monday, Ihlas News Agency reported.

A spokesman for Turkish President Recep Tayyip Erdogan decried the attack as an attempt “to create chaos,” while the Foreign Ministry said security for US diplomats had been beefed up.