What government took over from the Manchu dynasty