A Long Beach man was sentenced Wednesday to 15 years in prison for trying to kill his former girlfriend and setting fire to a Lynbrook hotel room a year earlier, the Nassau County district attorney’s office said.

Diquan Booker, 27, pleaded guilty on Oct. 16, 2015, to charges from two separate indictments, which include attempted murder, criminal use of a firearm in the first degree, arson in the second degree and criminal contempt in the first degree.

“This violent defendant showed no care or concern for the lives and safety of other people,” said District Attorney Madeline Singas in a statement. “In two separate incidents he set a hotel room on fire — jeopardizing the lives of everyone in the building, as well as first responders — and later, he attempted to murder a former girlfriend by firing a shotgun at her face. Tackling the scourge of domestic violence is a priority for my office and we will aggressively prosecute abusers like Diquan Booker.”

Acting Supreme Court Justice William O’Brien handed down the sentence.

Singas said Booker was staying at a Holiday Inn Express on Sunrise Highway in Lynbrook on Sept. 28 2013, when he bought charcoal lighter fluid and used it to set a part of the hotel room on fire.

The Lynbrook Fire Department extinguished the blaze, which was deemed suspicious by the Nassau County fire marshal.

advertisement | advertise on newsday

Booker was arrested by the Nassau County Police Department Arson/Bomb Squad and charged with arson on Oct. 10, 2013.

He was arrested again on July 20, 2014, at a North Merrick home after authorities said he fired a shotgun at a 26-year-old woman he had dated. He was arguing with the victim when he pulled out the sawed-off shotgun and pointed it at her face.

The woman, attempting to protect herself, put her hands up. Booker pulled the trigger, injuring her in the hands, shoulder and face with birdshot, police said.

She was taken to a hospital where she was treated for her injuries. Two of her fingers were amputated after the attack.

Booker was arrested at the scene by members of the Nassau County Police Department’s First Precinct.

Human Trafficking Unit Chief Amanda Burke, of the Nassau district attorney’s office’s Special Victims Bureau, is prosecuting the attempted murder case. Assistant District Attorney Patrick Brand of the Nassau Trial Bureau is prosecuting the 2013 arson case.

Booker is represented in the 2014 case by Robert Schalk and by Lloyd Nadel in the 2013 case.

Neither defense attorney could be reached for comment.