Napoleon Bonaparte was a young artillery officer basically not known, protected the new government. Because in France existed inequalities, its citizens were not happy what the catholic church had done to force the people to join the "real religion".
It was October 6 1789 when the King and the royal family moved from Versailles to Paris under the protection of the National Guards, t by doing that, the National Assembly was legitimized.