During these years he had continued his studies in his leisure hours, and shortly after the Brazilian disaster he offered to write a history of the Portuguese in India, the "Décadas da Ásia", which the king accepted.