An Afghan refugee held in Australian immigration detention for 8 years has gone to court to try and secure the emergency evacuation of his family as the Taliban advances across Afghanistan.

The refugee worked alongside coalition forces in Afghanistan.

He fled the country in 2013 to try to bring his family to safety but has been imprisoned in Australia since, he has only been able to watch as the situation back home deteriorates and his family comes under attack for the work he did.

Last month he took the Australian government to court, arguing that Australia had prevented him from rescuing his family and the government has a duty of care to bring them to Australia.