When you buy a house do you pay homeowners insurance to escrow or the insurance company for the first year?

I'm buying a house and currently getting the insurance rates.

Escrow. You give your quote to your lender and when you go to close you will pay it there. At least, that is what I had to do.