PORTLAND – A man was stabbed this morning in an apparent robbery attempt at an ATM, police said.

The man, whose name was not released, was driven to an ATM at Congress and Valley streets at about 1:15 a.m., police said. The victim knew at least one of the people in the car, according to police.

The man was told to take money out of the ATM and was stabbed about six times, according to police, who said there was no indication that money was actually withdrawn from the machine. The victim was taken to Maine Medical Center for his injuries, which were described as not life-threatening.

Police are declining to release further information because the case is still under investigation.