What caused Prussia to invade France?

Prussia invaded France in response to France declaring war on Austria. This invasion created a strong army, which conquered most of Europe.