How did Anne of Cleves get divorced?

Henry divorced Anne on the

9TH OF JULY 1540
Hed married her on the strength of a painting of her. He found the reality rather less appealing, called her 'my Flanders mare', and she took the divorce option, with a suitable financial settlement.