Authorities say a South Florida man killed and dismembered another man before dumping some of the remains in garbage bags along tracks where a train scattered them.

Hialeah police spokesman Carl Zogby told local news outlets that police on Thursday arrested 40-year-old William Martinez, adding he faces charges of second-degree murder and abuse of a corpse.

Officials say Martinez got into an argument with the 60-year-old victim before killing him and dismembering the body. Police say Martinez put some remains inside garbage bags and placed them near train tracks in Hialeah. Authorities said the remains were discovered Wednesday night after a passing train scattered the remains around the tracks.

Officials said they arrested Martinez at an apartment he shares with his mother. It's unclear if he has an attorney.