How Law Enforcement All Over the Country Responded to the Dallas Ambush

Police officers in several major cities will be working only in pairs.

— -- Law enforcement agencies across the country are responding to the Dallas ambush that left five officers dead and seven more injured.

"In light of the tragic events across the country this week, including the unspeakable police assassinations in Dallas, CPD has designated that all officers must be paired up with their partners to increase visibility and strengthen officer safety," the CPD wrote in a press release.

The CPD also reminded its officers of the importance "to continue promoting positive engagement between officers and the residents we're sworn to protect."

De Blasio asked New Yorkers to offer thanks and condolences to officers as they pass them on the street in the wake of the Dallas ambush.

Several more major police departments across the country took to Twitter to express their condolences for law enforcement in Dallas.

Los Angeles Police Department

Houston Police Department

San Francisco Police Department

Orlando Police Department

San Diego Police Department

Indianapolis Metropolitan Police Department

Las Vegas Metropolitan Police Department

ABC News' Geneva Sands contributed to this report.