(CNN) The second woman accused of killing the half-brother of North Korean leader Kim Jong Un has been released from a Malaysian prison, bringing one of the world's highest-profile murder mysteries to an anticlimactic end after two years of twists and turns.

Doan Thi Huong was released from jail Friday morning, her lawyer said. Huong left for the immigration department, a prison spokesman said, where she is expected to be processed before returning home to Vietnam in the coming hours.

Huong, Indonesian national Siti Aisyah and four North Korean men were accused of smearing VX nerve agent on the face of Kim Jong Nam as he entered an airport on the outskirts of the Malaysian capital Kuala Lumpur in February 2017, killing him in minutes.

Lawyers for the two women argued they were duped by North Korean agents who tricked them into thinking they were taking part in a prank reality TV show.

North Korea has consistently denied involvement in the killing, though United States, South Korean and Malaysian authorities have said Pyongyang was responsible. Kim Jong Nam lived in exile from his homeland in the Chinese controlled territory of Macau and had occasionally criticized its regime.

An immigration vehicle carrying Vietnamese national Doan Thi Huong leaves prison after she was released.

Read More