A car evading police in New Hampshire and Massachusetts crashed into a car in Lowell, Mass., at the intersection of Pawtucket Boulevard and Varnum Street.

HUDSON — A Nashua man wanted on drug charges deliberately crashed into two Hudson police cruisers, then led police on a nearly hour-long chase that ended in another crash in Lowell, Mass., on Wednesday night, according to Hudson police officials.

Hudson and Nashua police had been seeking Robert Ayles, 36, as he was wanted on a felony warrant out of Hillsborough County Superior Court for his failure to appear on methamphetamine possession and operating after suspension charges.

When Hudson officers with marked police cars set up a motor vehicle stop at the intersection of Musquash and Copper Hill Roads at 7:16 p.m., Ayles crashed his black 2012 Toyota Camry into two Hudson police cruisers and then sped away, heading northbound, officials said.

What followed was a pursuit that ended with Ayles crashing into another car in Lowell, Mass., just before 8 p.m.

"We were concerned about the safety of our officers and the public," said Hudson Police Lt. David Cayot.

After the cruiser crash, Hudson police units continued pursuit along Wason Road, the Circumferential Highway, Lowell Road, Pine Road, and Gowing Road.

Officers utilized a Stinger Spike System which limited the suspect's vehicle's mobility and speed, officials said. Despite two flat tires, Ayles continued to drive the car into Tyngsborough, Mass., and Lowell.

The pursuit ended when Ayles crashed his car into another driver at the corner of Pawtucket Boulevard and Varnum Street in Lowell.

No law enforcement officers were injured in the incident. Ayles was also uninjured, police said.

Tyngsborough, Mass., officers took Ayles into custody. Hudson police officials said charges are pending.