Boston police arrested a man they say posed as a police officer and attempted to kidnap and rape a woman over the weekend.

Charles Singleton, 51, of Boston, claimed to be a police officer when he offered a ride to a woman he'd met at a social gathering during the early morning hours on Saturday, according to police.

Instead, he drove the woman a short distance, pulled out a gun and ordered her to walk out into a dark field where he groped her and threatened to kill her if she didn't comply with his instructions, police said.

MASSACHUSETTS MAN CONVICTED OF RAPING, KIDNAPPING WOMAN FROM BOSTON BAR SENTENCED TO 29 TO 39 YEARS IN PRISON

When the woman began to scream, Singleton assaulted her, took her purse and cell phone and fled.

Boston, Plymouth, Worcester news

A Boston man impersonated a police officer and attempted to kidnap and rape a girl. He ended up taking her phone and purse before fleeing.

BOSTON CITY HALL FLIES RELIGIOUS FLAG FOLLOWING SUPREME COURT DECISION

Officers arriving say they located Singleton near his vehicle and recovered the woman’s personal items as well as a gun equipped with a laser sight that had been discarded nearby.

Singleton is due to be arraigned in Dorchester District Court on Monday on a range charges, including assault with intent to rape, kidnapping, indecent assault and battery and unlawful possession of a firearm, according to police.

BOSTON SUBWAY LINE TO BE SHUT DOWN FOR 30 DAYS, WILL RESULT IN SUBSTANTIALLY IMPROVED SERVICE FOR RIDERS

It couldn't be immediately determined if he has a lawyer.