Career
He was elected to the Norwegian Parliament from Hordaland in 1989, but was not re-elected in 1993. He had previously served in the position of deputy representative during the term 1981–1985. Hanselmann has been involved in local politics in Bergen and Askøy.
In 2007 he became mayor of Askøy.
He left the Norwegian Parliamentary Intelligence Oversight Committee in 2011.