A tearful San Francisco Giants payroll manager who admitted embezzling $2.2 million from the baseball team was sentenced to 21 months in federal prison Monday after a hearing in which the Giants opposed her request for leniency.

Robin O'Connor, 42, of American Canyon, who worked in the Giants' front office from 2007 until her arrest last July, pleaded guilty in November to defrauding the team by transferring money to her bank accounts in numerous transactions between June 2010 and June 2011.

She has paid back $960,000 and was ordered Monday to pay an additional $1.456 million to the Giants, which includes more than $200,000 for the team's costs of investigating her. She will also forfeit a 2011 BMW and a Ford pickup truck, which prosecutors said she bought with stolen money.

Federal sentencing guidelines called for a prison sentence of 33 to 41 months, and prosecutors sought 33 months.

But O'Connor's lawyer, Rita Bosworth, an assistant federal public defender, argued for probation and a year of house arrest. She said the crime was an aberration, O'Connor is deeply remorseful, and her husband would take the couple's autistic 6-year-old son and his 5-year-old brother to his native England if his wife went to prison.

O'Connor, her voice shaking, apologized to the court, her family and friends, and the Giants, "an organization that I loved." But a lawyer for the team argued for a longer sentence, saying O'Connor had betrayed the Giants' trust and was slow to admit her thefts.

"The Giants contest very, very strongly that (O'Connor) has accepted responsibility," said attorney Sharon Bunzel. She said the former payroll manager caused "a fair amount of havoc" for the team and still hasn't accounted for more than $500,000.

U.S. District Judge James Ware imposed the 21-month sentence recommended by the court's probation office, saying the crime was too serious to avoid imprisonment. He gave O'Connor until June 11 to turn herself in.