The capital of El Salvador is San Salvador, which was founded 9/15/1821. San Salvador has been the capital since 1839.
San Salvador is the largest city in El Salvador and functions as: Houses the federal government.
San Salvador is located at 13.6929° N, 89.2182° W, at an elevation of 2,159′ ft.
Source: https://flic.kr/p/5yShUa