STATEN ISLAND, N.Y. -- He tried to rob a pregnant woman on New Year’s Day, and when that didn’t work, he turned his gun on a 73-year-old man and took his car instead.

That robbery — and a string of others in Brooklyn and Staten Island — has landed a violent career criminal from Rosebank in prison for the next 20 years.

Fatmir Dajbabic, of St. Mary’s Avenue, was sentenced today in Westchester County Supreme Court to 20 years in state prison for the January robbery, which took place in Dobbs Ferry, N.Y.

Fatmir Dajbabic will spend the next 20 years behind bars after being sentenced in Westchester Supreme Court.

That sentence tacks five years onto a 15-year sentence he received in April for four armed stickups and a grand larceny in Brooklyn.

Prosecutors from Westchester County District Attorney Janet DiFiore’s office laid out the details of the New Year’s Day carjacking: Dajbabic approached a 26-year-old pregnant woman at a Getty station and mini-mart and asked her for directions, then flashed a black handgun that was tucked into his waistband.

The woman loudly refused to give any information, and Dajbabic walked away. While the woman went inside the mini-mart to call police, Dajbabic went up to a car driven by a 73-year-old man, opened the passenger door, got in, and told him where to go.

After they went about a block, Dajbabic told the man he had a gun, then held it to his right temple and ordered him to stop the car and get in the back seat.

The man stopped, but tried to run off and yell for help.

Dajbabic gave chase, grabbing him and clapping his hand over his mouth. The man fell to the ground, and Dajbabic hit him in the back of the head before returning to the car and driving off.

The man went to a nearby house and called police.

Dajbabic made it as far as Brooklyn before the NYPD stopped him, asking him about several robberies he had committed. He admitted to the carjacking in Dobbs Ferry.

This past February, Dajbabic pleaded guilty to four armed stickups in Brooklyn — two Dunkin’ Donuts, a Holiday Inn and McDonald’s — as well as a grand larceny where he ransacked the home of a friend he was staying with, according to a spokesman for the Brooklyn district attorney's office. He was sentenced on April 13 to 15 years in prison for those cases.

He received a concurrent 15-year-sentence on April 28 on Staten Island after pleading guilty earlier in the month to a Dec. 28 robbery.

Public records show Dajbabic was out on parole at the time of his crime spree after he had been sentenced to six years in prison for a 2002 robbery conviction in Brooklyn.

He was also arrested back in 2001, in connection with an arson and burglary at a public school in Huguenot, Advance records show.

Dajbabic, who was then 20 years old, and an 18-year-old accomplice broke into Bernstein Intermediate School on Oct. 29, 2001, smashed up several soda machines to try to get at the cash inside. He also stole some bullhorns before lighting a small fire in a storage room, hoping the blaze would cover up their break-in, police alleged at the time.