A woman who returned to Mexico Tuesday after trying to enter the United States illegally is said to be the daughter of Mexico's most-wanted drug lord, Joaquin "El Chapo" Guzman.

Alejandrina Gisselle Guzman Salazar, 31, attempted to enter the U.S. at San Diego's San Ysidro border crossing on Oct. 12 with someone else's visa, the Associated Press reported.

Eight months pregnant, she had intended to go to Los Angeles to give birth, the AP article said.

Guzman Salazar was offered leniency in return for pleading guilty to fraud and misuse of visas. She reportedly admitted that she attempted to enter the U.S. with an a visa that was not her own, and also agreed to leave the country if directed by immigration authorities.

In exchange, prosecutors agreed to drop the identity theft and false statement charges she faced.

U.S. District Judge Cathy Ann Bencivengo immediately ordered Guzman Salazar's release from jail after she pleaded guilty, the wire service reported. 

"She's happy to be back in Mexico and out of custody to have her baby," said Guzman Salazar's attorney, Guadalupe Valencia, on Wednesday.

"She's a doctor and will go back to her life before she was arrested."

According to authorities, her father is Joaquin "El Chapo" Guzman, leader of Mexico's Sinaloa cartel. Her mother is Maria Alejandrina Hernandez Salazar, whom the U.S. Treasury Department identified as Guzman's wife, when she faced financial sanctions in June, the AP reported.