A Pakistani police official says authorities have defused four small bombs planted near the house of former president and army chief, Pervez Musharraf, just two days before he's to appear in court in a treason case.

Police officer Nayyar Saleem says an onlooker spotted the devices on Monday alongside a road about a half kilometer from Musharraf's farmhouse on the outskirts of Islamabad.

Saleem says the improvised devices were left in separate plastic shopping bags, and there were about three kilograms of explosives altogether.

He says authorities don't know if Musharraf was the intended target.

Musharraf is accused of high treason and is scheduled to appear before a court on Jan. 1. He was not able to attend a previous court hearing on Dec. 24 because of a bomb scare.