Original: In 1958 Mauritania was formed as an autonomous republic in the French Community, and in 1960 it became an independent country, with Nouakchott as its capital.
Simplified: In 1962, Nouakchott became the capital of an independent country.