Formula One returned to Malaysia for the relocated race after it was cancelled earlier this season because of the Middle East conflict.