Why did Jefferson make the Louisiana Purchase?

He wanted to help the French win the war against Britain.

He wanted access to the Caribbean colony of Saint Domingue.

He thought that by doing so he could avoid war with France.

He wanted to expand the territory of the United States and secure control of the Mississippi River and the port of New Orleans.