The rule doesn't involve last man, it is if he stopped a goal scoring opportunity, as the foul happened just past the half way line i doubt it was, yellow card was the correct decsion