Louis I of Hungary
In 1361, Louis I of Hungary granted the citizens of Debrecen the right to choose the town's judge and council. This provided some opportunities for self-government for the town. By the early 16th century, Debrecen was an important market town.