We discuss the analytical solution of the two-loop sunrise graph with arbitrary non-zero masses in two space-time dimensions. The analytical result is obtained by solving a second-order differential equation. The solution involves elliptic integrals and in particular the solutions of the corresponding homogeneous differential equation are given by periods of an elliptic curve.