Leading an insurrection – the most serious charge against Yoon – carries the death penalty or life imprisonment and under South Korean law prosecutors must ask the judge for one or the other for the crime of insurrection.

South Korea has not executed anyone in nearly 30 years. In 1996, former military dictator Chun Doo-hwan was given the death penalty for seizing power in a military coup in 1979, though his sentence was later commuted to life imprisonment.

The prosecutors in Yoon’s case argue that although no one was killed in his martial law attempt, Yoon’s intent was no less violent.

They called to the stand the military commander who testified that Yoon had ordered the arrest of lawmakers.

They also presented as evidence the memo made by one of the planners of the martial law, a former military officer, containing the suggestion of “disposing” of hundreds of people including journalists, labour activists and lawmakers.

Yoon’s insurrection trial has been merged with those of two other senior figures in his administration, former defence minister Kim Yong-hyun and former police chief Cho Ji-ho.

A verdict and sentencing for Yoon and the other defendants, if they are convicted, is expected at a later date – widely expected to be in February.

Yoon has been detained for months while facing several criminal trials. Last month, prosecutors sought a 10-year prison term for Yoon for obstruction of justice and other charges related to his martial law attempt.