By the late 14th century, Biecz had accumulated a population of over 3,000 residents, necessitating some form of public health service. On 25 July 1395, Queen Jadwiga signed a royal edict ordering the construction of the hospital, granting tax breaks for the duration of construction, and earmarking two fiefs, a folwark, 3 fish ponds, and a town square near the city walls for construction. The budget provided by the queen for construction was one of the largest of its kind in the country.