by 1852 , 350,000 americans , chinese , peruvians , australians , and many others had flooded her shores , and until lincoln restored the ownership of the missions to the franciscans in 1865 , the mission system was virtually destroyed .