Please improve the grammaticallity of the given sentence.
Last Saturday, i replaced my friend to take his English exam and was found out on the spot.
Last Saturday, I replaced my friend to take his English exam and was found out on the spot.