An elliptic equation with history