
Thailand has seen two coups, three prime ministers brought down by court rulings, intermittent violence and crippling colour-coded street demonstrations during two decades of political instability.
Below are key events leading up to Sunday's election.