Foundations and exits of banking institutions