っていたそうだ
itte ita sōda

Interjection
Evidential Auxiliary

Expresses hearsay about a past event ("I heard that...") of 行ってき

1. Was doing; Did; Used to do

Past/Perfective
Hearsay Evidence