Twitter has agreed to hand over a user's account information to the New York Police Department following a court order, reports the New York Times. The NYPD reportedly sent a request for the information to Twitter on Friday, after a user posted threatening tweets about going on a shooting spree at a New York City theater, at times referencing the tragedy that occurred during a screening of The Dark Knight Rises in Aurora, Colorado last month. The user's account has since been removed.

Twitter initially refused to provide the information, according to the New York Post, saying that "while we do invoke emergency-disclosure procedures when it appears that a threat is present, specific, and immediate, this does not appear to fall under those strict parameters as per our policies." The company has since complied after receiving a subpoena from the Manhattan District Attorney's office.

The NYPD wouldn't reveal any details on the search for the suspect, but additional officers have been patrolling the targeted theater since the threats were first made. "We will provide coverage at the Longacre Theater until such time as we identify and locate the person responsible for the threats," NYPD's Paul J. Browne told the Times.

This isn't the first time the DA has managed to get Twitter to give up user details — earlier this year Twitter received a subpoena requiring it to turn over the account information of an Occupy Wall Street protester. And while Twitter attempted to fight the subpoena, a judge ultimately ruled that it must release the information.