Dating what is more accurate date of last period or date on ultrasound?

Based on my last period I'm 8w2d but based on my ultrasound yesterday I'm 9w today which is a more accurate date?