  We report a new family of solutions to Einstein-Maxwell-dilaton gravity in
2+1 dimensions and Einstein-Maxwell gravity with cylindrical symmetry in 3+1
dimensions. A set of static charged solutions in 2+1 dimensions are obtained by
a compactification of charged solutions in 3+1 dimensions with cylindrical
symmetry. These solutions contain naked singularities for certain values of the
parameters considered. New rotating charged solutions in 2+1 dimensions and 3+1
dimensions are generated treating the static charged solutions as seed metrics
and performing $SL(2;R)$ transformations.
