Who was named as a teacher at the last madrasa?