How Mata Hari was executed for being a traitor after being accused of spying for Germany in WWI

Dutch exotic dancer Mata Hari, who was enlisted to spy for France, was executed by firing squad at the age of 41 after being convicted of also acting as a double agent for Germany.