This incident is the third attack on an official building in the past two days.
The attack comes a day after two leftist militants took an Istanbul prosecutor hostage in his office. All three died late on Tuesday after police Special Forces stormed the courthouse in an effort to release him.
Separately, police detained a gunman on Wednesday who entered an Istanbul branch of the ruling AK Party and hung from its window a Turkish flag with the emblem of a sword added.