Complex sentence: After the graduation some of them received government's stipend to continue their education abroad and they were obliged to compensate received stipend by working for the government afterwards.
Split into simpler sentences: After the graduation some of them received government's scholarship to continue their education abroad. They were obliged to work-off received scholarship by working for the government afterwards.