He reportedly was a medical student in Mexico and grew up in Chino Hills

Zafar is said to no longer be in Mexico - it's unclear if he was deported or handed over to the US in another manner

The US citizen arrested by Mexican authorities in connection with last week's shooting of a US consular official reportedly is a medical student who grew up in affluent Chino Hills, California with his mother and sister and may have had a history of mental illness.

An official with the federal Attorney General's Office said Monday that Zia Zafar, 31, was returned to the US from Mexico, but also that he was recovering in a hospital in Guadalajara after being shot in the chest. It's unclear when he left.

Scroll down for video

Zia Zafar, 31, was arrested in Guadalajara after attempting to shoot a US consulate

The Associated Press says that Zafar was returned to the US after spending time in a hospital after being shot in the chest

A source said that Zafar had mental illness and used to live in Chino Hills, California

Zafar reportedly was a medical student living in Mexico, according to his landlord

The US consulate, Christopher Ashcraft, above, was apparently ambushed as he left an ATM vestibule after working out at a gym

The official identified the suspect as Zia Zafar, a U.S. citizen (original media reports had him identified as Zafar Zia).

The victim of the shooting survived the attack Friday. Neither Mexican nor U.S. officials released the victim's name, but local media have identified him as Christopher Ashcraft. Ashcraft is listed on social networking sites as a consular officer in Guadalajara since 2016.

Scroll down for video

Mexican authorities have arrested an American citizen over the shooting of an official at the U.S. consulate in the western city of Guadalajara on Friday

An American official in the United States who had seen a written summary of the investigation said authorities were still trying to determine a motive for the shooting.

The official said a preliminary investigation found the suspect had mental health issues. The U.S. official wasn't authorized to speak publicly about the investigation and agreed to speak to the AP only on condition of anonymity.

The official said the victim was recovering at a medical facility in Guadalajara and was in 'stable condition' Monday. He was reportedly shot in the chest, according to Mexico News Daily, but it's unclear by who.

ABC 7 reports that Zafar was a medical student studying in Mexico for the past four years, according to his landlord, and that he grew up in Chino Hills, California with his mother and sister.

The outlet reports that his mother sold their home three weeks ago and moved.

Surveillance video of the attack shows a man wearing purple scrubs, with dark hair and sunglasses, shoot into the official's car as it exited an underground parking garage. The attacker then runs away.

The attacker was wearing sunglasses and a wig, according to Mexico News Daily, and a photo shows him with a buzz cut. He also reportedly had 16 bags of what appeared to be marijuana with him.

After the attack, the U.S. Embassy in Mexico City urged citizens to limit their exposure in Guadalajara. 'They should also take care not to fall into predictable patterns for those movements that are essential,' the statement continued. 'They should vary the times and routes of their movements.'

On Sunday, U.S. Secretary of State John Kerry issued a statement thanking Mexico for the quick arrest.

The Attorney General's office expressed its 'deep dismay at this cowardly attack' and said the victim remained hospitalized in stable condition.

The alleged gunman, believed to be Zia Zafar, was detained on Sunday after he was caught on security cameras shooting the consulate employee at close range in his car

Zia Zafar, a 31-year-old naturalized American from India, has been named as the suspect, according to sources at the Jalisco state prosecutor's office

Surveillance video of the attack shows the gunman following the official before waiting for the victim to exit a parking garage in his car

Local media identified him as Christopher Ashcraft, whose profile on social networking sites listed him as a consular officer in Guadalajara since 2016.

The FBI had offered a $20,000 reward for information on the attacker, and surveillance cameras photos of him had been widely circulated.

Jalisco state is dominated by the hyper-violent Jalisco New Generation cartel. There was no immediate evidence of any cartel link to the attack.

Surveillance video of the attack shows the gunman following the official, who was dressed in shorts, in a parking garage.

U.S. consular employees have been attacked in Mexico in the past, including murdered consulate employee Leslie Ann Enriquez Catton (right) and her husband Arthur Redfels (left)

The attacker did not appear to try to approach the official while he was walking, but instead waited for him to exit the parking garage in his vehicle and fired a round into the car's windshield.

U.S. Secretary of State John Kerry issued a statement thanking Mexico for the quick arrest on Sunday.

Mexican Arturo Gallegos Castrellon was sentenced to life in prison for the 2010 murders of Leslie Ann Enriquez Catton and her husband in the border city of Ciudad Juarez

'On behalf of President Obama and the people of the United States, I want to thank the Government of Mexico for their swift and decisive arrest of a suspect in the heinous attack against our Foreign Service Officer colleague,' Kerry said.

'My thoughts and prayers remain with this officer and his family during this difficult time. I wish him a speedy recovery.'

U.S. consular employees and other U.S. agents have been attacked in Mexico in the past. The attackers have usually argued the attacks were cases of mistaken identity.

In 2014, a Mexican gang leader was sentenced to life in prison for his role in the 2010 slayings in the border city of Ciudad Juarez, Mexico, of US consulate employee Leslie Ann Enriquez Catton, her husband Arthur Redfels and the husband of another employee Alberto Salcido Ceniceros.

Prosecutors said Arturo Gallegos Castrellon was in charge of a team of assassins with the Barrio Azteca - a gang allied with the Juarez drug cartel - and had ordered the three slayings.