Original: On April 21 that year the capital of Brazil was officially moved from Rio de Janeiro to Brasília.
Simplified: Until April 21, 1960 it was the capital city of Brazil.