A Salvadoran man who was mistakenly deported and then brought back to the US on criminal charges has been released from jail, his attorney told the BBC.

"Today, Kilmar Ábrego García is free," attorney Sean Hecker said. He planned to return to his family in Maryland.

Mr Ábrego García was deported to his native El Salvador in March as part of Donald Trump's immigration crackdown, where he was kept in the notorious Cecot prison. US government officials acknowledged at the time that he was removed in error.

He was returned to the United States earlier in June and sent to the state of Tennessee, where he was charged in a human smuggling scheme. He's pleaded not guilty.

His attorneys say it will be the first time he's able to fully reunite with his family since he was deported since March. He has a wife and two children.