When the wires are attached to a battery (dry cell), the electric current around the wire and bolt will form a magnetic field.
(the wires; are attached; ) (the electric current around the wire and bolt; will form; a magnetic field; T:When the wires are attached to a battery)
the wires the electric current around the wire and bolt
are attached will form
a magnetic field T:When the wires are attached to a battery