David Mills, a veteran television writer who worked on the award-winning series “ER” and “The Wire,” died after collapsing on the set of his latest production. He was 48. Mills died Tuesday night in New Orleans, said HBO spokesman Diego Aldana. Doctors at Tulane Medical Center said he suffered a brain aneurism, according to a statement Wednesday from Mills' latest production, “Treme.” Mills was on the set of the new HBO series in the French Quarter when he was stricken and rushed to the hospital where he died without regaining consciousness, the statement said. He began his career as a reporter for The Washington Post, before turning to screenwriting. Besides “ER” and “The Wire,” he worked on the HBO drama “The Corner,” “Homicide: Life on the Street,” “NYPD Blue” and was executive producer and writer of the short-lived NBC miniseries “Kingpin,” about a Mexican drug cartel. He won Emmys for co-writing and executive producing the miniseries “The Corner” and an Edgar in 2007 for “The Wire.”