Original: It moved north until a trough of low pressure turned it to the northeast.
Simplified: It moved north before a trough of low pressure turned it to the northeast.