12/10/2017 12:23 EST | Updated 12/10/2017 12:23 EST

Canada finishes fourth at Cape Town Sevens with 19-17 loss to South Africa

CAPE TOWN, South Africa — Canada just missed out on third place, losing to host South Africa 19-17 on Sunday in the bronze-medal match at the Cape Town Sevens rugby tournament.

New Zealand's All Blacks beat Argentina 38-14 to win gold at the season-ending tournament of the HSBC Rugby Sevens tour.

Nathan Hirayama had a try and made five conversions as Canada rolled past France 35-7 in the event's quarterfinals earlier in the day.

Pat Kay and Connor Braid had tries in Canada's close 14-12 loss to Argentina in the semis, setting up the match against South Africa.