A St. Paul man has pleaded guilty in federal court to robbing two Eagan banks last year.

Damien James McDonald, 40, pleaded guilty to two counts of armed bank robbery Friday before Judge Wilhelmina Wright in U.S. District Court in St. Paul. McDonald was indicted in July.

According to court documents, McDonald entered the U.S. Bank branch in the Lunds & Byerly’s grocery store on April 14, pointed a gun at two tellers and demanded money. He fled the store, located at 1299 Promenade Place, with $2,739.

McDonald’s second stick-up was June 6 at the Associated Healthcare Credit Union at 1460 Yankee Doodle Road, according to court documents. He allegedly threatened two tellers with a handgun, ordered them to fill a bag with cash and get into a back room before fleeing with $8,236 in cash, which included 10 $20 bait bills.

McDonald’s getaway car was caught on surveillance video and investigators soon found it in the 2200 block of West Seventh Street in St. Paul. Eagan police and the FBI arrested McDonald after pulling over a car at a nearby apartment. Found in his pants pockets was $1,000, including five of the bait bills.

During a search of his apartment, police found $2,500 hidden under a rug and a pair of sweatpants that matched the ones the robber used in the first robbery.