The duo have been identified as Ananda and Rana. However, two others, including the main accused and friend of the rape survivor, are still on the run.
The alleged crime happened on Thursday afternoon when the college student had gone to meet her friend Naim in Shimultoli.
However, Naim and his three other friends took turns to rape her, the woman's family members told police. The four had also tortured her brutally when she resisted the crime before dumping her at a local auto-rickshaw terminal.
The woman was spotted by locals, who rushed her to a hospital at 11 pm on Thursday.
Deputy Commissioner of Gazipur Metropolitan Police (GMP) Md Jakir Hasan said that sleuths from the Detective Branch arrested the two from Gazipur and Mymensingh, respectively, within 24 hours of the crime.
“Efforts are on to nab the other accused, including Naim. Hopefully, all the perpetrators will soon be brought to justice," the DC said.
Meanwhile, widespread protests and demonstration have been underway for the past few days across the country against rising cases of sexual violence against women.
Around 400 demonstrators have started their long-march programme from Dhaka to Noakhali’s Begumganj upazila in protest against the growing cases of rapes, sexual harassment and violence against women in recent times.
In fact, the protests have erupted across the country since the beginning of October, following the recent cases of gang rapes in Sylhet's MC College and in Noakhali's Begumganj upazila.
In the wake of widespread protests, the President has promulgated an ordinance allowing death penalty as the highest punishment for the crime instead of life imprisonment.
The ordinance was issued following waves of anti-rape demonstrations across Bangladesh after a video footage of five men raping a housewife, stripping her naked and filming the crime in Noakhali’s Begumganj upazila, went viral on social media.