A woman who managed a Bronx homeless shelter was killed after a deranged former resident sexually assaulted her at gunpoint and shot her as she fled naked down a street, police sources said Tuesday.

Ana Charle’s nude, bullet-riddled body was left on a desolate stretch of Bullard Avenue shortly ­after the attack by recently released ex-con West Spruill, who knew her from the facility. Sources said he ambushed Charle as she left work Monday.

“She lived for people, had a great heart,” said Gary Alcendor, her former boyfriend. “She lived mainly for her two kids.”

A police source described how the attack occurred:

Charle, 36, had just left her job at the shelter on Bronx Boulevard in Wakefield at about 5:45 p.m. and was walking to her Honda parked a block away when the maniac pulled a gun and ordered her into the back seat. He then told her to take off her clothes, ­police sources said.

Spruill also stripped naked and tried to rape her. She escaped from the career criminal’s clutches and bolted from the car.

She lived for people, had a great heart. She lived mainly for her two kids. - Gary Alcendor, Ana Charle's boyfriend

But she didn’t make it very far before Spruill caught up with her and gunned her down, firing two .40-caliber slugs into her head and one into her torso.

“He walks back to the car after he shoots her and gets dressed and starts walking off,” said a police source.

“He’s a really, ­really bad guy.”

Police quickly apprehended Spruill, found the gun he allegedly used to shoot Charle and took him in on charges of murder and possession of a weapon, the source said.

Charle, a native of Spain, was rushed to Montefiore Hospital, where she was pronounced dead.

“She requested security, but they never provided it at that place,” Alcendor said, referring to problem-plagued Project Renewal.

Spruill found his way to Project Renewal in June of last year, just months after being set free from a Michigan prison where he served seven years for assault with a deadly weapon, the source said.

He was also charged with misdemeanor assault in Brooklyn last month.

He crashed at Charle’s facility until January, when he left to take up residence at another shelter in Manhattan and lived there until April 7, sources said.

Investigators believe Spruill returned to the Bronx shelter with the intention of committing the crime against Charle.

Additional reporting by Frank Rosario