Kenya's Chief Justice Willy Mutunga says he has been threatened with "dire consequences" if the courts barred presidential candidate Uhuru Kenyatta from contesting next month's election.
Mr Mutunga said he had received a "poison-pen letter" from an outlawed group "extolling" violence.
Mr Kenyatta's Jubilee Coalition said it condemned any threats to the judiciary.
His candidacy has been controversial because he has been charged with crimes against humanity.
The case at the International Criminal Court (ICC) stems from allegations that Mr Kenyatta fuelled violence that followed the disputed 2007 presidential election.
He denies the allegation.
Recourse to sensationalism and melodrama is not befitting of the head of the judiciary”Jasper MbiukiJubilee Coalition official
Mr Kenyatta and his running mate William Ruto are due to be tried at The Hague about a month after the 4 March election.
Pressure groups asked Kenya's High Court to disqualify them from contesting the election because of the ICC case.
But the High Court refused, in a ruling on Friday.
It did not have the power to annul Mr Kenyatta's candidacy, the court said.
More than 1,000 people died in the violence which swept through Kenya after the 2007 election.
The violence ended after a coalition government was formed.
Mr Kenyatta and Prime Minister Raila Odinga are the frontrunners in next month's election.'Cabal of retrogrades'
President Mwai Kibaki is stepping down after two terms in office.
Kenyans have been urged to avoid violence in next month's election
Mr Mutunga said he had received the "poison-pen letter from the Mungiki Veterans Group/Kenya Sovereignty Defence Squad", a banned group which was heavily involved in violence after the 2007 poll.
"It warns against an adversarial ruling on the presidential and deputy presidential candidacy of Uhuru Kenyatta and William Ruto," Mr Mutunga said, at a news conference in Nairobi.
"The letter extols the violent 'exploits' of the Mungiki movement and threatens dire consequences."
Jubilee Coalition legal affairs secretary Jasper Mbiuki said his organisation was saddened that Mr Mutunga had "dragged our name into this sordid affair on such flimsy [evidence]".
The Jubilee Coalition was not linked to Mungiki, he said.
Let no individual, group, candidate, or supporter imagine that cowardly and darkly acts such as these will cow us”Willy MutungaKenya's chief justice
"As a judicial officer, he must surely know that a letter allegedly written by alleged supporters of our candidates would have no evidentiary value and no court would admit it into evidence," Mr Mbiuki said, in a statement.
"Recourse to sensationalism and melodrama is not befitting of the head of the judiciary."
Mr Mutunga said five judges had been attacked ahead of the election.
He also faced an illegal attempt by an immigration officer at the airport in Nairobi last week to block him from flying to neighbouring Tanzania, he said.
"It requires some courage, ignorance, or political patronage or a combination of all three to stop a chief justice from travelling," Mr Mutunga added.
Intelligence chief Maj-Gen Michael Gichangi later phoned to apologise for what he called a "small hiccup", Mr Mutunga said.
"It has never happened on any of my numerous previous trips," he said.
"I have, therefore, concluded that this is deliberate harassment... I am convinced it is political."
Mr Mutunga said judges would not be held hostage by a "cabal of retrogrades".
"We shall decide all cases independently and with scrupulous fidelity to the constitution," he added.
"Let no individual, group, candidate, or supporter imagine that cowardly and darkly acts such as these will cow us."
Mr Mutunga said he had received a "poison-pen letter" from an outlawed group "extolling" violence.
Mr Kenyatta's Jubilee Coalition said it condemned any threats to the judiciary.
His candidacy has been controversial because he has been charged with crimes against humanity.
The case at the International Criminal Court (ICC) stems from allegations that Mr Kenyatta fuelled violence that followed the disputed 2007 presidential election.
He denies the allegation.
Recourse to sensationalism and melodrama is not befitting of the head of the judiciary”Jasper MbiukiJubilee Coalition official
Mr Kenyatta and his running mate William Ruto are due to be tried at The Hague about a month after the 4 March election.
Pressure groups asked Kenya's High Court to disqualify them from contesting the election because of the ICC case.
But the High Court refused, in a ruling on Friday.
It did not have the power to annul Mr Kenyatta's candidacy, the court said.
More than 1,000 people died in the violence which swept through Kenya after the 2007 election.
The violence ended after a coalition government was formed.
Mr Kenyatta and Prime Minister Raila Odinga are the frontrunners in next month's election.'Cabal of retrogrades'
President Mwai Kibaki is stepping down after two terms in office.
Kenyans have been urged to avoid violence in next month's election
Mr Mutunga said he had received the "poison-pen letter from the Mungiki Veterans Group/Kenya Sovereignty Defence Squad", a banned group which was heavily involved in violence after the 2007 poll.
"It warns against an adversarial ruling on the presidential and deputy presidential candidacy of Uhuru Kenyatta and William Ruto," Mr Mutunga said, at a news conference in Nairobi.
"The letter extols the violent 'exploits' of the Mungiki movement and threatens dire consequences."
Jubilee Coalition legal affairs secretary Jasper Mbiuki said his organisation was saddened that Mr Mutunga had "dragged our name into this sordid affair on such flimsy [evidence]".
The Jubilee Coalition was not linked to Mungiki, he said.
Let no individual, group, candidate, or supporter imagine that cowardly and darkly acts such as these will cow us”Willy MutungaKenya's chief justice
"As a judicial officer, he must surely know that a letter allegedly written by alleged supporters of our candidates would have no evidentiary value and no court would admit it into evidence," Mr Mbiuki said, in a statement.
"Recourse to sensationalism and melodrama is not befitting of the head of the judiciary."
Mr Mutunga said five judges had been attacked ahead of the election.
He also faced an illegal attempt by an immigration officer at the airport in Nairobi last week to block him from flying to neighbouring Tanzania, he said.
"It requires some courage, ignorance, or political patronage or a combination of all three to stop a chief justice from travelling," Mr Mutunga added.
Intelligence chief Maj-Gen Michael Gichangi later phoned to apologise for what he called a "small hiccup", Mr Mutunga said.
"It has never happened on any of my numerous previous trips," he said.
"I have, therefore, concluded that this is deliberate harassment... I am convinced it is political."
Mr Mutunga said judges would not be held hostage by a "cabal of retrogrades".
"We shall decide all cases independently and with scrupulous fidelity to the constitution," he added.
"Let no individual, group, candidate, or supporter imagine that cowardly and darkly acts such as these will cow us."