in 1728, quantz visitied berlin. he met crown prince frederick. he returned to berlin two times a year to teach prince frederick the flute. when king august ii died, quantz stayed in dresden until prince frederick became king of prussia. quantz moved to berlin. he became a composer and flute player for king frederick. quantz did not write operas. other composers in frederick's court wrote operas.