Since the large cable going to the starter is the positive, I suspect the negative cable was still hooked up when this happened.
Always disconnect the negative cable before working on the starter - see if doing that helps stop the sparking.
See "Related Questions" below for more
I recently replaced the battery in our 1998 Windstar and did not keep the electrical system connected during the changeover. No issues afterwards.
The positive terminal of the battery would be connected to the positive terminal of the ammeter. The load would then be connected between the two negative terminals, positive side of the load being connected to the negative side of the ammeter.
Center terminal is connected to the positive from the battery. Outside is connected to ground (-).
If you disconnect a battery cable the preset radio stations and the clock has to be reset
Note: When interconnecting A200 batteries (cells), they must be identical in voltage and amp rating! Batteries may be connected in series. The positive terminal of the first battery is connected to the negative terminal of the second battery; the positive terminal of the second is connected to the negative of the third, and so on. The voltage of the assembled battery is the sum of the individual batteries. The batteries are connected: + to - to + to - to + to -, etc. The capacity of the battery is unchanged. Batteries may also be connected in parallel. The positive terminal of the first battery is connected to the positive terminal of the second battery, the positive terminal of the second is connected to the positive of the third; the negative terminal of the first battery is connected to the negative terminal of the second battery, the negative terminal of the second is connected to the negative of the third and so on. The batteries are connected: + to + to + and - to - to -. In this configuration, the capacity is the sum of the individual batteries and voltage is unchanged.
You connect the positive terminal first.
Red wire is Positive in a car battery. If they are not color coded, find which one is not connected to the chassis and this will be positive.
Cars in which the positive terminal of the battery is connected to the chassis. They require specially designed components built for positive ground cars. The usual configuration is a negative ground (the negative battery terminal connected to the car's chassis).
you've got your wires crossed on your starter,
No, not the battery. But anything that has a diode, transistor or is in any other way dependent on polarity may be fried... including your alternator.
Dead short in the battery. Battery can explode and damage can be done to the electronics in the vehicle.
its connected to your positive battery cable.