New York City officials Saturday named a Brooklyn street in honor of an NYPD police officer who was gunned down with his partner in December.

Ridgewood Avenue between Shepherd Avenue and Highland Place is now Detective Rafael L. Ramos Way.

"He must be remembered for all those who loved him and for all of us to remember his example," Mayor Bill de Blasio said.

More coverageComplete coverage: 2 NYPD cops fatally shot

The ceremony came six months to the day after Ramos, 40, and his partner, Wenjian Liu, 32, were ambushed as the two sat in a patrol car in Brooklyn's Bedford-Stuyvesant neighborhood. They were posthumously promoted to first-grade detective, which boosts the benefits their families receive.

"Those deaths, those murders, at that particular time, stopped, for a period of time, a movement, a movement that was gaining momentum, unfortunately in this country, in this city, a movement that was starting to go out of control, a movement of hostility towards America's police," said Police Commissioner William Bratton, referring to demonstrations against police killings of unarmed black men, at which some advocated violence against officers.

Two weeks ago and about 71/2 miles away, West Sixth Street between Avenues S and T in Brooklyn was named for Det. Wenjian Liu. His family was at Saturday's Ramos ceremony.

advertisement | advertise on newsday

The streets were picked because the officers lived nearby; their families helped decide the locations.

Ramos' relatives -- with some standing nearby wearing T-shirts in his honor -- helped with the unveiling.

"You just wake up one day, and poof," Ramos' sister Sindy Ramos said. "Life will never be the same again."