Long Beach police released this photo of a firearm they say was recovered from a vehicle where a 23-year-old Los Angeles man was taken into custody and later charged with sex trafficking. Photo courtesy of the Long Beach Police Department.

Police rescued a 17-year-old girl and reunited the girl with her infant child following an investigation into allegations that a man had trafficked the teenager and was holding the child for ransom, authorities said Wednesday.

Police said the investigation began on July 28, when officers responded to a call of a dispute in the area of Martin Luther King Jr. Avenue and Hill Street in Central Long Beach. Police said officers spoke to a teenage girl, who they believed was a victim of human trafficking.

Police said they later determined that the girl’s infant child had been taken without her consent and was being held by a man who demanded ransom.

“Due to the great work of officers, detectives, and dispatchers, the infant child was safely reunited with the mother that same evening,” Long Beach police said in a statement.

Police did not provide details about where the child was being held, nor for how long. It’s unclear if the child was injured.

Two days later, police arrested Antonio Lettmen, 23, of Los Angeles on suspicion of trafficking a minor and other crimes. Lettmen was arrested without incident in his car in Los Angeles, police said, where they also later found a semiautomatic firearm and “additional evidence pertaining to the human trafficking of the 17-year-old.”

On Tuesday, the Los Angeles County District Attorney’s Office charged Lettmen with sex trafficking a minor with violence, kidnapping for ransom and being an ex-felon in possession of a firearm.

Jail records show Lettmen is being held at Twin Towers Correctional Facility on $2.035 million bail.

It was not immediately clear whether Lettmen had been arraigned or entered a plea.