When the current started flowing through the wire, the compass needle swung around and pointed in a different direction which was at a right angle to the wire.
(the current; started flowing; through the wire) (the compass needle; swung; around; T:When the current started flowing through the wire) (the compass needle; pointed; L:in a different direction; T:When the current started flowing through the wire) (a different direction; was; at a right angle to the wire)
the current the compass needle the compass needle a different direction
started flowing swung pointed was
through the wire
around T:When the current started flowing through the wire
L:in a different direction T:When the current started flowing through the wire
at a right angle to the wire