Hansen was born on 1695 in Albany, New York. He was the eldest son of seven children born to Albany mayor Hendrick Hansen and Debora Van Dam, His siblings were Debora Hansen, who married Jacobus Beekman, Maria Hansen, who married David A. Schuyler, Nicholas Hansen, who married Engeltie Wemp, and Ryckert "Richard" Hansen, who married Sara Thong and after her death, he married Catharina Ten Broeck. His paternal grandparents were Eva Gillis de Meyer and Hans Hendrickse, a Beverwyck trader, and Eva Gillis de Meyer Hansen. His mother was the only daughter of Claes Ripse Van Dam, an carpenter and Justice of the Peace for Albany County and Maria Van Dam.
Career
According to his fathers 1723 will, and upon his father's death in 1724, he inherited, by right of primogeniture, his father's "lot of ground in Albany, on the north side thereof." He also received, equally divided with his brother Nicholas, his father's farm and 2,000 acres of land that was situated "on the north side of the Maqueses river" near Ticonderoga. The land was granted to him by Patent from Brig. Gen. Robert Hunter who served Governor of the Province of New York. One was to get the house, barn, barracks, and other buildings along with the responsibility to assist and pay upkeep towards the other half. His father's mill was to be held in partnership between the sons. In 1721, he served as a Constable of Albany. In 1731, surprising many, he was appointed the Mayor of Albany, New York by John Montgomerie, succeeding Johannes de Peyster III. He served in that role for a year until De Peyster was again appointed mayor. He was again appointed mayor in 1754 by James De Lancey, succeeding Robert Sanders. He was reappointed and died in office in 1756. Again following after his father, he served as a Commissioners of Indian Affairs for a total of 2 years, having been appointed in 1754.
Personal life
In 1723, he married Sara Cuyler, daughter of mayor Johannes Cuyler and Elsje Ten Broeck, herself the daughter of Albany Mayor Dirck Wesselse Ten Broeck. Together, they were the parents of seven children, including: