  We classify finite-dimensional nilpotent Lie algebras with $2$-dimensional
central commutator ideals admitting a Lie group of automorphisms isomorphic to
$SO_2(\mathbb R)$. This enables one to enlarge the class of nilpotent Lie
algebras of type {n,2}.
