Police say the unidentified officer was off-duty and resting in between shifts at the 25th precinct yesterday when a bullet flew through his car window.
Colleagues cheered and clapped as the officer walked from the doors of New York-Presbyterian hospital Sunday afternoon.
The officer underwent surgery for a fractured skull and doctors removed bullet fragments from his head.
Mayor Eric Adams shook the officer's hand as he entered a transport leaving the hospital.