WESTPORT — Two men were caught in Bridgeport after allegedly smashing a car window and stealing a purse in Westport, then fleeing from an officer during a highway pursuit later that day.

Police said a witness reported two men had smashed a window and stolen a purse in the parking lot of Stop & Shop, at 1790 Post Road East in Westport, on the afternoon of May 29. Based on the vehicle the men left in, police learned their suspects were also wanted for a similar car break-in at the Interstate 95 rest area in Fairfield.

Later that day, a town officer located and attempted to stop the car, resulting in an I-95 pursuit. Shortly after it sped away from the officer — who stopped when the pursuit became dangerous — Bridgeport Police found the same car and arrested two men matching suspect descriptions, Morgan Crosley and Hector Rivera, Westport Police said.

Westport Police took the men into custody. Crosley, 39 and a resident of Fosters Court in Bridgeport, was charged with fourth-degree larceny, third-degree burglary, conspiracy to commit fourth-degree larceny, conspiracy to commit third-degree burglary, second-degree criminal mischief, violation of probation and second-degree failure to appear. His bonds totaled $25,750 ahead of a June 8 court date.

Rivera, 35 and a resident of Larkin Court in Stratford, was charged with fourth-degree larceny, conspiracy to commit fourth-degree larceny, conspiracy to commit third-degree burglary, reckless driving and disobeying the signal of an officer. Identified as the car’s driver, he received charges for speeding away from police during the pursuit. His bond was set at $7,500 ahead of a June 8 court date.