History of Seoul Settlement began in Baekje , Wirye-seong , in 17 BC . . It became the capital of the Joseon Dynasty in 1394. There were some modernization efforts by the late 19th century and Seoul became the first city in East Asia to have electricity, trolley cars, water, telephone, and telegraph systems all at the same time .