Unprotected sex

Last night my boyfriend and I unprotected sex but he pulled out early. We then had sex once again without s condom. Is there any chance I could have got pregnant???