OTTAWA - The Harper government is going to the Supreme Court in an effort to avoid bringing Omar Khadr home from a U.S. military prison.

The government announced today that it will seek leave to appeal a Federal Court of Appeal ruling this month.

That ruling upheld a court order that Ottawa bring the 22-year-old prisoner back to Canada as soon as possible.

Ottawa has consistently refused to ask the United States to return Khadr from its prison in Guantanamo Bay.

The Toronto-born Khadr has been held at Guantanamo for seven years.

He is accused of throwing a grenade that killed an American soldier in Afghanistan.