Confucius Temple of Nagasaki, located in Dapuding, Nagasaki City, is presumed to have been built in 1893 (Meiji 26). It is the only Confucius Temple built by the Chinese people in foreign countries, which is funded equally by the major rural gangs (mainly the three gangs) after the "Four Tang Temple" of the major rural gangs and at the suggestion of the consulate of the Qing Dynasty in Nagasaki.