Ontario is a city in southwestern San Bernardino County in the U.S. state of California, 35 miles (56 km) east of downtown Los Angeles and 23 miles (37 km) west of downtown San Bernardino, the county seat. Located in the western part of the Inland Empire metropolitan area, it lies just east of Los Angeles County and is part of the Greater Los Angeles Area. As of the 2020 census, the city had a population of 175,265. The city is home to Ontario International Airport, which is the 15th-busiest airport in the United States by cargo carried. Ontario handles the mass of freight traffic between the ports of Los Angeles and Long Beach and the rest of the country. It takes its name from the Ontario Model Colony development established in 1882 by the Canadian engineer George Chaffey and his brothers William Chaffey and Charles Chaffey. They named the settlement after their home province of Ontario.