A man has been arrested under terrorism legislation following the discovery of a bomb in Strabane, County Tyrone.
Police said an “improvised explosive device” was recovered after a security alert on Saturday in the Church View area of the town.
A number of homes had been evacuated, but residents were allowed to return in the early hours of Sunday.
Police Chief Constable Simon Byrne tweeted that it was “another callous attempt to kill or maim our officers”.
He said it was a “stark reminder” of why the Police Service of Northern Ireland needed “7,500 officers to grow our presence in communities to deal with this severe threat”.
SDLP MLA for West Tyrone Daniel McCrossan said the device was left on a wall close to the local police station.
Mr McCrossan described it as a “reckless, cowardly and selfish” act.
“This device obviously was very sophisticated and was placed there deliberately, not only to cause a huge inconvenience but, ultimately has endangered human life,” he said.
“This could have been much, much worse.
“There’s no mandate for it, no-one wants it. We want them off our streets, we want them to leave and go away. That’s the message that this community will be sending very strongly to those responsible.”
On its Facebook page, PSNI Strabane thanked residents for their “support and understanding”.
“To those affected by the inconvenience of having to be asked to leave your homes etc we can only apologise,” the post added.