his lifestyle was rather wild, and he even got arrested once for debt and fraud. however, he continued to become well known as a composer and wrote a lot of instrumental and religious music. he spent some time in several large cities including prague and berlin. in dresden he worked hard to make german opera a success (most operas were still italian in those days).