Malaysia (search) has released from prison a man who allegedly financed the deadly Bali (search) bombings in 2002, as well as five other suspects who trained with weapons and explosives in Afghanistan, officials said Tuesday.

None of the six had ever been charged with a crime. All had been imprisoned under laws that allow for indefinite detention without trial.

Wan Min Wan Mat (search), a former university lecturer who was detained in 2002, allegedly provided about US$30,500 to members of the Jemaah Islamiyah terror group to carry out the Bali bombings, which killed 202 people, mostly foreigners.

Wan Min was released on Monday "after he had shown remorse over his past actions and militant-like views," a security official told The Associated Press on customary condition of anonymity. He did not elaborate.

The official said several restrictions had been put on Wan Min's movements to enable police to monitor him.

The five others, students aged between 18 and 21, were imprisoned in November 2003. They went to Pakistan for religious studies, but while there took a trip to Afghanistan and Kashmir, the official said.

The five allegedly underwent weapons and explosives training in Afghanistan and Kashmir, and some allegedly met Al Qaeda leader Usama bin Laden before the U.S.-led Afghan war started in late 2001, Malaysia police have told AP.

Authorities freed the students from a prison camp in northern Malaysia "after they responded well to government efforts to rehabilitate them," the official said.