JAKARTA, May 16 (Xinhua) -- Three militants were shot dead and another was injured in an attack on the police headquarters in Riau province of Indonesia on Wednesday, the provincial police said.

Police chief of Riau province Inspector General Nandang said a total of eight militants with a white minivan launched the attacks on the police headquarters.

The police shot four out of the eight attackers and three of the four were killed while the remaining five terrorists escaped, Beritasatu TV quoted the police chief as saying.

The police are hunting for the militants, according to the police chief.

The militants rampantly shot the police office located on Sudirman street of Pekanbaru, the provincial capital at 09:00 a.m. Jakarta time and they also used swords to stab police personnel, national police spokesman Muhammad Iqbal said.

The attack come days after a series of terrorist strikes in Indonesia, including suicide bombings in three churches on Sunday in Surabaya city, the provincial capital of East Java and a suicide bombing at the police headquarters in the city, which left at least 25 people dead and dozens of others injured.