The man who abandoned his five-year-old daughter at the Port Authority Bus Terminal after allegedly murdering his estranged wife has been caught by Federal Marshals, police said.

U.S. Marshals N.Y./N.J. Regional Fugitive Task Force took Elmer Gomez Ruano, 32, into custody in Brooklyn at 1pm on Friday, the New York Daily News reported.

Ruano was allegedly in a homeless shelter evading police but was kicked out for fighting.

Officers saw him walking down the road near the shelter and arrested him, the Daily News reported.

Scroll down for video

Cops are have arrested Elmer Gomez Ruono, 32, after Stamford Police Capt. Richard Conklin said he was suspected in murdering his wife before abandoning his five-year-old daughter at the Port Authority Bus Terminal in New York City

Ruano was wanted when his five-year-old girl (pictured) was found inside the Port Authority Bus Terminal after her mother, Dionicia Bautista-Cano (right), 24, was found murdered in Connecticut, officials said

'He's in custody. We’re not going to tell you how we got him, but we got him,' NYPD Chief of Detectives Robert Boyce said.

A witness to the arrest said Ruano didn't resist the officers.

'He just stood there, and the cops questioned him for a couple minutes. Then they put the cuffs on,' Jose Rodriguez, 60, told the post.

A resident of the shelter said that Ruano was quiet and kept to himself while in the shelter.

'We’re certainly very pleased. A team of investigators are on their way to New York City as we speak,' Stamford Police Capt. Richard Conklin said Friday

It is unclear what Ruano will be charged with but on Monday his alleged victim Dionicia Bautista-Cano, 24, was identified by Stamford, Connecticut, police.

Bautista-Cano was killed in a Glenbrook apartment on Monday, Stamford police Lt. Tom Barcello said.

Authorities had to match her fingerprints with those on file at the G uatemalan Consulate, The Hour reported.

It took police two days to positively identify that Bautista-Cano's (above) body, as they used her fingerprints to match her fingerprints with those on file at the Guatemalan Consulate,

Bautista-Cano had just got back together with her estranged husband Elmer Gomez Ruono, 32, and the family of three had moved in together into a one bedroom apartment in Glenbrook as she had previously lived in Flemington, New Jersey.

Police found her dead body lying inside the home on November 14 when the couple's five-year-old daughter, who was abandoned inside the Port Authority Bus Terminal, New York, led them to the property.

The motive for her death appears to be domestic, and police called the couple's relationship 'very, very combustible.' They added that there were signs of a struggle around the woman's body.

Police have not said how she was killed, but her death has been ruled a homicide.

The young girl, who only speaks Spanish, has been placed in the custody of the state Department of Children and Families.

Now, investigators are discussing the potential mental health risks of interviewing the woman's five-year-old daughter, who might have witnessed her mother being killed inside the Courtland Avenue apartment.

Ruono (pictured) had been working at the Bedford Street Diner in Stamford, have applied for an arrest warrant

'We are dealing wtih a five or six-year-old child and we want to tread gingerly,' Barcello said according to The Hour.

'She just lost her mother and she doesn't even know it yet. And I don't even know if she can understand the concept of permanency, where mommy is not ever coming back.

'We are very concerned with the child's mental well being also. She is already going to have trauma for life, and we are trying to limit the impact of it.'

The little girl was spotted by an officer on the second-floor concourse of the PABT.

When police reviewed surveillance footage, they saw Ruono leaving the girl at the terminal early on Monday before fleeing the scene.

The youngster, who described by Port Authority Police as being in a good condition and well fed, was taken home to the apartment by detectives who made the grisly discovery.

The little girl is believed to have been abandoned by her father, who is a suspect in her mother's death. Police ruled her death as a homicide but have not said how she died

Authorities say that the victim, and her daughter, had moved in with Ruono on Sunday and celebrated their move with a party for friends and family on Sunday night at the Courtland Avenue apartment.

But a domestic dispute allegedly began after the party, and the victim was killed in the early hours of Sunday morning, police say.

'We know very, very little because they only moved here within the last day or two from New Jersey,' Conklin said. 'We are struggling to come up to speed on this very rapidly.'

Police, who say Ruono had been working at the Bedford Street Diner in Stamford, have applied for an arrest warrant.