It was founded by Portuguese in 1575 as São Paulo de Luanda and has been the administrative center of Angola since 1627 (except for 1640–1648). When Angola got independence in 1975, it became the capital of Angola.