George Smith Patton Jr. was a general in the United States Army who commanded the Seventh Army in the Mediterranean Theater of World War II , then the Third Army in France and Germany after the Allied invasion of Normandy in June 1944.