A man in a luxury car has allegedly been threatened by two men armed with guns during a terrifying carjacking in Melbourne’s north.

The 46-year-old Craigieburn man was sitting in his Mercedes in a supermarket car park on Blair Street, Dallas, when the men allegedly got out of a nearby car and approached him, just after midnight on Sunday.

The armed men allegedly demanded the 46-year-old get out of his car before they got into the Mercedes and drove off. They were followed by the car they got out of.

On Monday afternoon, police arrested four men and a woman at a home on Tylden Place, Westmeadows, about 4.30pm, in relation to the incident. Officers seized two firearms.

A Dandenong North man, aged 27, has been charged with aggravated carjacking and was remanded to appear at Melbourne Magistrates’ Court on Tuesday.