Jakarta, Indonesia (CNN) An Indonesian teen has been rescued after drifting at sea for 49 days on a floating fish trap and is back safely with his family, according to the country's foreign affairs ministry.

19-year-old Aldi Novel Adilang had been working as a lamp keeper on a remote fishing trap -- known locally as a rompong -- situated 125 kilometers off the northern coast of Manado in the province of North Sulawesi, Indonesia.

Rompongs, which look like small huts, are fish aggregator devices that sit upon buoys or floats and are anchored to concrete blocks on the seafloor by rope.

Adilang's job was to light lamps powered by a generator on the trap each night to attract fish. He was hired to spend six months on rompongs, with someone visiting at the end of each week to drop off food, water and fuel supplies and harvest the fish, the Jakarta Post reported

He told CNN affiliate CNN Indonesia that in mid-July strong southerly winds had caused high waves, resulting in the anchor rope rubbing until it broke. He said that he had communication with friends on another raft for a week but after that was alone.

Read More