I was driving to work came to a stop but before as I was slowing down pressing my brake it stiffened and just died. It didn't make any sound when it died, car was still on so it wasn't the battery. When I tried to start it again it just made some clicking noise and that was it. What could it possibly be?

