As the third president of the United States, Jefferson stabilized the U.S. economy and defeated pirates from North Africa during the Barbary War. He was responsible for doubling the size of the United States by successfully brokering the Louisiana Purchase. He also founded the University of Virginia.