A 35-year-old Brooklyn man was officially charged with first-degree murder on Tuesday in connection with the shooting deaths of a Queens imam and his assistant over the weekend.

Oscar Morel is charged with one count of first-degree murder, two counts of second-degree murder and two counts of criminal possession of a weapon.

He was taken into custody late Sunday night, questioned and charged Monday.

Police say Morel is the man seen on surveillance video running away from the crime scene near 79th Street and Liberty Avenue in Ozone Park.

Imam Maulana Akonjee and his assistant, Thara Uddin, were shot in the back of the head at point blank range as they were leaving afternoon prayer.

"The motive right now has not been determined," said NYPD Chief of Detectives Robert Boyce. "We're still drilling down on it as we go forward. That's certainly on the table, a hate crime."

"I assured the members of the community that the NYPD would be out in force, protecting community institutions, protecting Muslim communities all over the city," said Mayor Bill de Blasio.

Police say after the murders, Morel was driving a black SUV that hit a cyclist about three miles away.