If H is a topological group with Hom, (G, H) locally compact for all locally compact G, then H is a compact Lie group.