A spokesman for the Brooklyn District Attorney's office says Saturday a judge ordered 29-year-old Joseph Brown released on Friday.
The spokesman says the investigation is ongoing and Brown is due back in court in May.
Police had said Brown entered an apartment in a public housing complex, walked to a back bedroom and shot a man in the head.
Investigators said he then shot three other people in the apartment, killing one.
---