Inherited from Old Czech dvořěnín. By surface analysis, dvůr + -an.
dvořan m anim (feminine dvořanka, related adjective dvořanský)