Time: finally

やっと

Means that something happened at last. More rarely means “barely”.

Example

やっとろんぶんを書きわった。 I finally finished writing my thesis.

ついに

Means “finally”, “at last”. Something happened after working to accomplish the goal.

Example

ついに あたらしい地下鉄ちかてつがった。 At last, the new subway was completed.