 His work in Sweden led to the 1782 production of his opera "Cora och Alonzo" at the inauguration of the new opera house in Stockholm and the 1786 production of "Gustaf Wasa," based on an idea of the king for a Royal Swedish Opera.After a brief period as a guest composer in Copenhagen (1785–86), he returned to Dresden where he became Oberkapellmeister.In 1792 he married Catarina von Grodtschilling, daughter of a Danish vice-admiral.