President Donald Trump is getting involved in the case of the three UCLA basketball players arrested for allegedly shoplifting in China.

ABC News learned that while visiting Beijing last week, the president personally asked President Xi Jinping if he could help.

The White House said Xi assured Trump that he would "ensure the three players are treated fairly" and that the case moves toward a resolution.

The president's chief of staff John Kelly has also been in contact with the players' families as well as the team's coach.

LiAngelo Ball -- the brother of Lakers rookie Lonzo Ball -- Cody Riley and Jalen Hill are free on bail but under house arrest. Sources told ESPN that the three freshmen could remain in China for another week or two.

Lonzo was asked what he thought about Trump's involvement.

"Hopefully, he helps him and everything works out," he said.

He said he had not spoken to his brother, but he hopes the matter will be resolved soon.

The source also said there is surveillance video that shows the players allegedly shoplifting from three stores.