festivals and other events. The earliest documented instrumentation in Hungary dates back to the whistle in 1222, the Koboz around 1237-1325, the bugle in 1355, the fiddle in 1358, the bagpipe in 1402, the lute in 1427 and the trumpet in 1428. Thereafter the organ came to play a major role. The 16th century saw the rise of Transylvania (a region inhabited by Hungarians, never occupied by the Turks) as a centre for Hungarian music. It also saw the first publication of music in Hungary, in Kraków. At this time Hungarian instrumental music was well known in Europe; the lutenist and composer Bálint Bakfark, for example, was famed as a virtuoso player. His compositions pioneered a new style of writing for the lute based on vocal polyphony. The lutenist brothers Melchior and Konrad Neusiedler were also noted, as was Stephan Monetarius, the author of an important early work in music theory, the Epithoma utriusque musices. During the 16th century, Hungary was divided into three parts: an area controlled by the Turks; an area controlled by the Habsburgs; and Transylvania. Historic songs declined in popularity and were replaced by lyrical poetry, whilst minstrels were replaced by court musicians. Many courts or households maintained large ensembles of musicians who played the trumpet, whistle, cimbalom, violin or bagpipes. Some of these ensemble musicians were German, Polish, French or Italian; the court of Gábor Bethlen, Prince of Transylvania, included a Spanish guitarist. Little detail about the music played during this era survives, however. Musical life in the areas controlled by the Ottoman Turks declined precipitously, with even the formerly widespread and entrenched plainsong style disappearing by the end of the 17th century. Outside of the Ottoman area, however, plainsong flourished after the establishment of Protestant missions in around 1540, while a similarly styled form of folk song called verse chronicles also arose. During the 18th century, some of the students at colleges such as those in Sárospatak and Székelyudvarhely were minor nobles from rural areas who brought with them their regional styles of music. Whilst the choirs in these colleges adopted a more polyphonic style, the students' songbooks indicate a growth in the popularity of homophonic songs. Their notation, however, was relatively crude and no extensive collection appeared until the publication of Ádám Pálóczi Horváth’s Ötödfélszáz Énekek in 1853. These songs indicate that during the mid to late 18th century the previous Hungarian song