Two people were beaten and robbed, while another was held up at knifepoint during separate atacks early Saturday n the city’s University Heights neighborhood.

The first robbery occurred about 1 a.m. on Winspear Avenue, where two males were approached by two other men, police said.

One of the victims was punched in the mouth and fell to the ground, striking his head and losing consciousness, according to police. The two robbers went through the victim’s pockets and took $40 in cash, a cellphone, ATM card and a University at Buffalo student ID card.

The other victim also was punched in the face, but nothing was stolen from him.

The two bandits fled in a vehicle described as a black Chevrolet Suburban.

The second robbery occurred about an hour later at Main Street and Lisbon Avenue.

A male emerged from a vehicle, described as a bronze-colored Chevrolet Blazer, approached the victim with a knife and ordered him to hand over his belongings, police said. The thief went through the victim’s pockets and wallet, before stealing an iPhone. The robber jumped back into the vehicle, which sped north on Main.

It was unclear Saturday whether the two incidents were connected.