Democratic presidential candidate Hillary Clinton met with some of the country's top law enforcement officials in New York City on Thursday.

At John Jay College, she spoke with eight police leaders from across the nation, including outgoing Commissioner Bill Bratton, his successor James O'Neill, as well as the police chief from Los Angeles and the former police chief of Philadelphia.

The meeting comes on the heels of a string of police involved shootings and the deaths of five police officers in Dallas, Texas earlier this summer. The attack happened at a protest over the shooting deaths of black men in other parts of the country.

Republican presidential candidate Donald Trump had also suggested Clinton is against the police. 

She denied the claims, but said officers must show respect for the communities they serve and vice versa.

Most of Clinton's meeting was closed to the press, but she opened it by talking about repairing trust between law enforcement and communities.

"I believe supporting our police officers and improving policing go hand-in-hand," the former New York senator said. "Everyone is safer when there is respect for the law, and when everyone is respected by the law."

Clinton's aides say she planned the meeting for several weeks.

Bratton stated in an interview that the Queens-native Trump shows a "lack of depth" when it comes to his policies, and that he is concerned about Trump creating and feeding off of fear, although he said he was open to meeting with Trump if asked.

Bratton has not endorsed Clinton, but he has made no secret of his feelings about Trump.

"Mr. Trump scares me. Scares the hell out of me, frankly," Bratton said August 3 on "CBS This Morning."

After the Dallas police officers were killed, Trump asked to attend a police roll call in New York City; Bratton said he turned down the request. 

"Our interest is in staying out of the politics of the moment, not to provide photo ops," Bratton said July 8.

Bratton also said he and Clinton discussed ways to improve police-community relations.

Clinton has no public campaign events planned until Sunday.