Improve grammaticallity of the following paragraph
The students studied very hard for a year, and finally some of them could pass the exam.
The students studied very hard for a year, and finally, in the end, some of them could pass the exam.