The former finance chief of a Westport hedge fund pleaded guilty Tuesday to embezzling more than $1 million.

Darrin Foster, 46, formerly of the Bronx, N.Y., pleaded guilty in U.S. District Court in New Haven, to one count of wire fraud related to an embezzlement scheme that lasted from September 2004 to July 2010.

According to the indictment, Foster rang up personal charges of more than $1.09 million on his corporate credit card and then transferred money from his employer's bank accounts to pay for it.

The U.S. Attorney for the District of Connecticut did not disclose what the money was spent on. Foster has been detained since his arrest in May and was considered a flight risk, according to court records.

He had evaded investigators probing the alleged embezzlement for nearly two years, though he was not indicted until two months before his arrest in Yonkers.

According to multiple news reports, Foster's car broke down in New York and a State Trooper stopped to help him. Foster gave a false name to the officer, who eventually discovered he was wanted and was driving an unregistered car.

The government did not name his former employer, and a call to a hedge fund that Foster has been linked to was not immediately returned Tuesday.

Foster is scheduled to be sentenced on Jan. 7 and faces a prison sentence of up to 20 years.