What makes Tunisia so stable?

In the Middle East Tunisia is democratic, liberal and economically as well as politically stable. What makes Tunisia so different and relatively successful?