PORTLAND, Maine — A Massachusetts man was sentenced Friday to more than seven years in federal prison for bringing more than 3,000 oxycodone pills into the United States from the Philippines and for failing to make a court appearance.

James Mattero, 62, of Worcester, Mass., was sentenced in U.S. District Court to six years and three months for conspiracy to distribute and possess with the intent to distribute oxycodone. Mattero was sentenced to an additional year for failing to show up for a court date in early 2010.

In addition to prison time, U.S. District Judge John Woodcock sentenced Mattero to two years of supervised release after he completes his prison term.

Between September 2008 and June 2009, Matero made multiple trips to the Philippines, according to the prosecution version of events to which he pleaded guilty. Mattero’s activities were brought to the attention of investigators by a cooperating defendant who obtained pills from him in Maine and Massachusetts.

Mattero, who was released on $60,000 unsecured bail in July 2009, was scheduled to appear in federal court in Portland on Feb. 19, to plead guilty to the drug charge. He was arrested on June 6, 2010, in Panama City, Fla., and has been held without bail since then.

Information about how Mattero smuggled the pills into the country was not outlined in court documents. How he got involved in drug smuggling also was not detailed.

Mattero faced up to 20 years in federal prison on the drug charge and up to 10 years on the failure to appear charge. Under the prevailing federal sentencing guidelines, Mattero faced between seven years and three months and nine years and one month in prison on the drug charge alone.

The time he has been held without bail since his arrest in Florida will be applied to his sentence, according to court documents.