Why Thomas Jefferson purchase the Louisiana Territory from France in 1803

Why did Thomas Jefferson purchase the Louisiana Territory from France in 1803 and what impact did that decision have on American history?