which is correct -

"yesterday, both Jack and I were running"

or

"yesterday, both Jack and I was running" ?? #TIA