Ultrasound due date or Last period due date?

Autumn

I just had a growth scan yesterday and they estimated baby’s due date as 4/17/2023, my original due date was 5/5/2023. Will they go by the ultrasound date or my last period date? They never directly told me but I saw it on the ultrasound results in MyChart and was curious.