(CNN) -- A former hospital worker systematically shot and killed four people in upstate New York on Saturday, authorities in two counties said. 

Former hospital worker Frank Garcia, 34, has been accused in the shooting rampage. 

Frank Garcia, 34, was arrested Saturday afternoon. Garcia knew all four victims, police said, but they didn't reveal details about the relationships. 

"The individuals who were shot were known to the suspect. It was not necessarily a random act," Monroe County Sheriff Patrick O'Flynn said. 

The first two victims -- Mary Sillman, 23, and Randall Norman, 41 -- were fatally shot before 5 a.m. at Lakeside Memorial Hospital in Brockport, where Garcia was once employed, O'Flynn said. Another woman was wounded and is undergoing treatment at a nearby hospital, he said. 

The second shooting happened at a house in nearby Ontario County on Saturday afternoon. 

Christopher Glatz, 45, and his wife, Kim, 38, were killed "execution-style" while their two teenagers were in the suburban Rochester home, Ontario County Sheriff Philip Povero said. 

The teens were not wounded, but it is unclear whether they witnessed the event. 

Povero said neighbors reported Garcia went door-to-door looking for the Glatzes' home. 

"He was in fact looking for the residence," Povero said. "He was saying different things to different people, but he was clearly looking for that home." 

Ballistic evidence has connected the two crime scenes, Povero said. Investigators found the matching brass cartridges from a pistol found on Garcia when he was arrested, he said. 

Garcia was arrested at a restaurant Saturday afternoon, CNN affiliate R-News in Rochester reported. 
How many people were killed at the hospital?
Who were the victims in Brockport?
What is the name of the shooter?
How old is Garcia?
Where id he used to work?
Did he know the people he shot?
How many shooting incidents were there?
How many people were shot in the home in Rochester?
How old were the children of the people in the home in Rochester?
Were the teenagers shot?
four
four
Mary Sillman, 23, and Randall Norman
 Mary Sillman, 23, and Randall Norman
Frank Garcia
 Frank Garcia
34
34
hospital
hospital
knew all four victims
knew all four victims
two
two
unknown
unknown
teenagers
teenagers 
teens were not wounded
 teens were not wounded