It could be argued that only foreign madmen were expelled, and that each town only took responsibility for its own citizens who had lost their wits, and indeed in the accounts of various medieval cities there are records of funds put aside for the mad, and donations made in favour of the insane.