Kansas City Southern (KSU) has accepted a $33.6 billion takeover bid by Canadian National Railway (CNI -5.05%) and intends to terminate its existing agreement with Canadian Pacific Railway (CP -6.60%).

In April, Canadian National launched a surprise bid for Kansas City Southern, topping Canadian Pacific's $30 billion agreement. Although Canadian Pacific has argued that the Canadian National offer is riskier because it is likely to draw significant antitrust scrutiny, Kansas City Southern's board determined that the offer constitutes a superior proposal.

A Canadian National train on the open rails.

Image source: Canadian National.

Kansas City Southern said in a statement that it intends to notify Canadian Pacific it will terminate the merger agreement. Under the terms of their deal, Canadian Pacific has five business days to make a new offer, which could trigger a bidding war for the company.

The Canadian railroads are battling for control of one of the few major North American railroad assets available for sale. Consolidation among railroads is largely prohibited by the U.S. Surface Transportation Board, but Kansas City Southern is the exception due to its smaller size.

Both railroads are hoping to combine their Canadian and U.S. footprints with Kansas City Southern's Mexican operations to create a North American powerhouse.

Canadian Pacific had previously criticized Canadian National's offer as potentially stretching the suitor too thin. But it appears Canadian Pacific will now have to find a way to sweeten its proposal if it hopes to remain in the running.