B.In Vienna musicians first played the harpsichord, but, then someone invented the piano.
C.In Vienna musicians first played the harpsichord but, then someone invented the piano.
D.In Vienna musicians first played the harpsichord but then someone invented the piano.
a) on b) in c) a d) after