We present a model for the anomalous X-ray pulsars (AXPs) in which the
emission is powered by accretion from a fossil disk, established from matter
falling back onto the neutron star following its birth. The time-dependent
accretion drives the neutron star towards a ``tracking'' solution in which the
rotation period of the star increases slowly, in tandem with the declining
accretion rate. For appropriate choices of disk mass, neutron star magnetic
field strength and initial spin period, we demonstrate that a rapidly rotating
neutron star can be spun down to periods characteristic of AXPs on timescales
comparable to the estimated ages of these sources. In other cases, accretion
onto the neutron star switches off after a short time, and the star becomes an
ordinary radio pulsar. Thus, in our picture, radio pulsars and AXPs are drawn
from the same underlying population, in contrast to models involving neutron
stars with ultrastrong magnetic fields, which require a new population of stars
with very different properties.Comment: 15 pages and 3 Postscript figure