One of the new breed of politicians who had risen to prominence in China 's first republican elections , held in late 1912 , used his newfound influence to challenge the centralizing and militaristic tendencies of China 's interim president ; he was gunned down in the Shanghai railway station en route to taking up a leadership position in the new Parliament .