New Orleans, founded by France in 1718 on the mouth of the Mississippi, is usually remembered as the center of French influence in the United States. However, it owes just as much, if not more, to the period of Spanish rule, which began in 1762 with its transfer to Spain by the French and ended in 1803. The structure of the French city, a grid around present-day Jackson Square, was preserved as a central core during the Spanish period but was substantially enlarged, completely fortified and enhanced with major works of engineering. During the last years of Spanish rule, New Orleans underwent a huge growth in population and size. When it was transferred to the United States, Spain had left in New Orleans the foundations for a great city, which remained one of the largest in North America throughout the 19th century.