Answer the following question:

when was nanjing(nanking) selected as the capital city of the republic of china?
317