LIVERMORE -- Four people were injured in two home invasion robberies that occurred minutes apart, police said Tuesday.

Police said the Monday night robberies had similarities but a preliminary investigation does not seem to indicate they were related, according to a Livermore Police Department release.

One person was taken to ValleyCare Medical Center and treated for moderate injuries. He was struck by an object when he confronted two males in his home in the 1500 block of Heather Lane about 9:15 p.m., police said. Police said electronic equipment was stolen from the man's home.

The victim has been released, Officer Steve Goard said.

One suspect was described as a black male adult, approximately 5 feet 8 with an average build who was wearing black clothing and a stocking cap. The other suspect was wearing dark clothing.

A second residence, an apartment in the 900 block of Catalina Drive, was invaded about 9:50 p.m. In that robbery, two men forced a woman into her apartment from the front porch, and once inside threatened and beat the woman and her boyfriend.

The robbers then ransacked the apartment, and when a neighbor came to investigate, they beat the neighbor with an undisclosed weapon, police said.

One suspect was described as a male with a trimmed goatee who was wearing dark clothing. The other was described as a male wearing dark clothing and a ski mask.

Police ask anyone with information to call 925-371-4900.

Staff writer Sophia Kazmi contributed to this report. Rick Hurd covers crime. Contact him at 925-945-4780.