Napoleon was able to create a common ideal that incorporated the feelings and thoughts of the masses. The philosophers from the Enlightenment contributed to foster a notion of national identity. They became conscious of having a common background, language, and origin shared over the centuries. When people were needed in the war effort, the idea of being part of the "revolutionary army" became key to incorporating people with no military training that quickly learned to battle and eventually professionalization was carried in the army.
The creation of the Napoleonic Code incorporated notions that at the time were modern, new, and appealing to the people that already had identified with notions of liberty, fraternity, equality. The initial and sustained military victories gave him the ingredients for staying in power as long as the victories were to be continued.
He was able to use this drive to let him have the power over France. It was just like when the Church used religion to make citizens follow their orders and justify their actions.
\Napoleon used the Napoleonic Code, his creation, to unite the people and overthrow the monarchy in France. They finally felt that they have liberty, fraternity, and equality on their hands. He was able to stir the feelings of Nationalism. In addition to this, he also made several successful battles during the French Revolution. The unity of the people made them become a strong force in Europe. Napoleon was a symbol of Nationalism which eventually supported him to have the power.
Austin was the first American empresario that got a grant from the Mexican government in 1821 to start a settlement for 300 families in Texas. This encouraged a much large immigration to Texas, dozens of thousands by 1835.