In 1912, the Republic of China was established and Sun Yat-sen was inaugurated in Nanjing as the first Provisional President. When was the Republic of China established?