Emancipation of the Medieval Towns