What is the origin of the name Hansen?

A patronymic name of Danish and Norwegian origin, Hansen is derived from Hans (the diminutive of Johannes [the German variant of John from Hebrew Yôḥānnān (Yaweh is gracious]) + -sen (son of).