Who wrote the letter declining the Emperor's invitation?