Born in Nelahozeves, Dvořák displayed his musical gifts at an early age. After graduating from an organ school in Prague, he began writing his first composition at the age of 20. In the 1860s, he played as a violist in the Bohemian Provisional Theater Orchestra and taught piano lessons. In 1873, he married Anna Čermáková, and left the orchestra to pursue another career as a church organist. He wrote several compositions during this period. Dvořák's music attracted the interest of Johannes Brahms, who assisted his career; he was also supported by the critic Eduard Hanslick.