STAMFORD-Thanks to a cell phone, a Bridgeport man who inadvertently left the device in his car before it was stolen early Thursday was able to recover the vehicle it at Stamford Hospital just hours later.

Thanks to another cell phone, which police say was also inadvertently left in the car by the thief who stole it, police closed the case with an arrest.

Sgt. Jennifer Lynch said a Bridgeport man called police from Stamford Hospital at about 10:45 a.m. to say that he had just found his car. The man said his 2012 Nissan sedan had been stolen at about 3:40 a.m.

During the morning, the man also discovered that he left his cell phone in the car and by using the tracking application found the car in the Stamford Hospital parking lot.

When the officer looked in the car for the phone, he found two. One belonging to the man, the other one -a pink cell phone- to someone else.

One officer, Luis Davilla, ended up pulling a double shift Thursday morning heard about the pink phone being found in the car and remembered that in the early morning he was called to the hospital for a patient acting a little out of control.

Lynch said that James McLaughlin, 34, from Virginia, came into the emergency room that morning with an injury to his hand. And Davilla remembered that among some other choice things McLaughlin said, there was mention of his missing pink phone.

Putting two and two together, police had a look at the phone and determined it did belong to McLaughlin and he was charged with third-degree larceny and held overnight in lieu of a $5,000 court appearance bond.;