His post in the free Imperial city of Lübeck afforded him considerable latitude in his musical career, and his autonomy was a model for the careers of later Baroque masters such as George Frideric Handel, Johann Mattheson, Georg Philipp Telemann and Johann Sebastian Bach. In 1673 he reorganized a series of evening musical performances, initiated by Tunder, known as Abendmusik, which attracted Musicians from diverse places and remained a feature of the church until 1810. In 1703, Handel and Mattheson both traveled to meet Buxtehude, who was by then elderly and ready to retire. He offered his position in Lübeck to Handel and Mattheson but stipulated that the organist who ascended to it must marry his eldest daughter, Anna Margareta. Both Handel and Mattheson turned the offer down and left the day after their arrival. In 1705, J.S. Bach, then a young man of twenty, walked from Arnstadt to Lübeck, a distance of more than 400 kilometres (250 mi), and stayed nearly three months to hear the Abendmusik, meet the pre-eminent Lübeck organist, hear him play, and, as Bach explained, "to comprehend one thing and another about his art". In addition to his musical duties, Buxtehude, like his predecessor Tunder, served as church treasurer.