The Ankara chief prosecutors' office says Turkish police have detained two suspected Islamic State militants who were believed to be planning suicide attacks during New Year celebrations in central Ankara.

The state-run Anadolu Agency said Wednesday the two suspects, both Turkish nationals, were detained in a raid on a house in Ankara. The agency, quoting an official from the chief prosecutor's office, says police seized suicide vests armed with bombs.

The agency said the attackers were planning to detonate the suicide vests at two locations during the celebrations. The agency did not say whether the suspects were male or female.