Rio san juan resort, In 1763, it became the capital of the State of Brazil