Attorney General Jeff Sessions on Wednesday condemned the killing of New York City police officer Miosotis Familia as a "cowardly, unprovoked attack."

"This murder in cold blood is a tragedy, and sadly it is the latest in a troubling series of attacks on police officers over the past two years. These attacks must stop and we must honor the service of every law enforcement officer and the memory of those we have lost in the line of duty," said Sessions in a statement.

The 48-year-old New York City Police Department officer was shot early Wednesday by a two-time convict.

Familia was sitting in uniform with her partner in a marked, temporary control unit in the Bronx when she was shot through the window by the shooter just after 12:30 a.m. According to reports, the mobile unit was there due to a recent shooting, and police were taking extra precautions for the Independence Day holiday.

The gunman, identified by the police as Alexander Bonds, 34, had voiced anger at law enforcement on social media before the shooting. Two responding officers shot and killed Bonds.

According to Familia's LinkedIn page, she was a former Red Cross medical assistant and a nurse at New York University Hospital before joining the NYPD. Assigned to the 46 Precinct in the Bronx, she was also a mother of three children.

"Officer Miosotis Familia ‎spent 12 years protecting her community as a member of the NYPD and all New Yorkers share in the pain and heartbreak caused by her death," said New York Gov. Andrew Cuomo in a statement. "I offer my deepest condolences to Officer Familia's loved ones and fellow members of the NYPD. Today, we all come together to mourn one of New York's Finest."

Sixty-seven police officers have been killed in the first six months of 2017, according to the National Law Enforcement Officers Memorial Fund — an increase from last year, when 57 officers were killed during the same period.