When does first trimester end?

I keep seeing 12 wks and some places say 13 wks. I thought it was 12.