SANTA MARIA, Calif. (AP) — A man set off an explosive device at a California courthouse on Wednesday, injuring five people and leading to the evacuation and closing of the court complex and other city buildings, officials said.