In a contest of fine margins, Australia prevailed with two days to spare. On the third day, after bowling out India for 157 in its second innings and chasing 162 for a triumph, the host posted 162 for four.