CASTRO VALLEY -- A man shot by sheriff's deputies after he pointed a replica rifle at them remained in critical condition Saturday afternoon, officials said.

The man was taken to Eden Medical Center after the shooting. His identity was still not being released Saturday, according to Alameda County Sheriff's spokesman Sgt. J.D. Nelson.

No one else was injured.

The incident began with a call from the man to police about 7:30 p.m., saying he had been in a dispute with a neighbor. The man said "there (was) going to be a shootout" if police came to the home at the corner of Seven Hills and Lake Chabot roads, Nelson said.

Police responded in patrol cars and called in the sheriff's armored vehicle. A sheriff's sergeant looking through a porthole in the vehicle spotted the man -- apparently armed with a rifle -- on the side of the house.

The man moved around the front and side of the house for several minutes, using bushes as cover, before raising the rifle as if to shoot, Nelson said. The sergeant fired, striking him in the chest.

Contact Daniel M. Jimenez at djimenez@bayareanewsgroup.com. Follow him at Twitter.com/DMJreports.