Which modular forms correspond to abelian varieties?

234 Views Asked by At

I have seen in a few places in the literature that given a weight two modular form, we can find an abelian variety that have the same $L$-function. But I haven't been able to find a precise statement on this correspondance. So, my question is, given a modular form $f$, what conditions do we need if we want to associate it to an abelian variety? Where can I find a proof in the literature?