By Nate Raymond

BOSTON, June 11 (Reuters) - A U.S. judge on Thursday allowed an Iranian-born engineer to be released on bail just days before his trial on charges linked to a deadly drone attack on a U.S. military base in Jordan carried out by Iran-backed militants in 2024.

U.S. District Judge Indira Talwani in Boston had previously declined to release Mahdi Sadeghi, a dual U.S.-Iranian citizen, from custody, citing the risk he might flee to avoid trial. He is charged with conspiracy to illegally procure technology used in a navigation system for Iran's military drones.