In 1845 , German physicist Gustav Kirchhoff described two laws . Kirchhoff 's circuit laws are two equalities that deal with the conservation of charge and energy in electrical circuits , and were first described in 1845 by Gustav Kirchhoff .