Best Answer - Chosen by the Asker
Haigh, a chara,
You'd use An, since we're dealing with the past tense of Tá. Most verbs have An as their interrogative form; only a few verbs use Ar in place of An.
If you have ceistanna eile (other questions), feel free to Inbox me. :-)
Le meas,
Maidhc