Sounds like your alternator stopped charging and you ran off batteries until they died. Or your batteries started dying and wouldn't take a charge from the alternator. My guess it's the alternator.