Can anybody tell me why yesterday is used twice in this one sentence?

Ex: вчера вечером я писал письмо.