Officials say shots were fired after officers responded to reports of a possibly armed man breaking into a trailer late Saturday in the city of Elk Grove, near Sacramento.
Police said Sunday that both officers have been released from a hospital following treatment for gunshot wounds to their legs.
The gunman, who has not been identified, remains hospitalized in unknown condition. Police say he was in possession of a loaded gun.