Question: Why Did The Third Estate Declared Itself To Be The National Assembly?

Why did the Third Estate form a national assembly?

.

Why did the Third Estate declared itself to be the National Assembly what were the French peasants reacting to in their rebellions of 1789?