By what age does Freud believe that the foundation of personality is laid?

Freud believed that the foundation of personality is laid by the age of five, based on his theory of psychosexual development.