Penalties at end of period

Team A is one man down and gains possession of the ball. The team A player clearing the ball is slashed by a Team B player and retains possession as time expires in the period.
Is Team A given possesion at the start of the next period or is there a faceoff?
Is Team A given possesion at the start of the next period or is there a faceoff?