09/15/2010 AT 5:40 PM ET
Sofia Vergara’s devoted girlfriend duties have paid off.
She’s spent the last three weeks by the hospital beside of her critically injured beau, Nick Loeb. Now, he’s finally been released.
“He’s alive and he’s in very good spirits, which is important when you have that type of accident,” Vergara tells Access Hollywood.
Loeb, whose crash left him with a broken leg and fractured pelvis, praises Vergara for helping him through this difficult time, but says the recovery process will not be easy.
“I’m in a lot of pain still and still stuck in bed,” he says. “Sofia has been great taking care of me – I’ve been very lucky on that front.”