How are banks chartered?

Can you answer this question?