We extend the results by R.P. Langlands on representations of (connected) abelian algebraic groups. This is done by considering characters into any divisible abelian topological group. With this we can then prove what is known as the abelian case of the p-adic Langlands program.