SB 9.11.18

tata ūrdhvaṁ brahmacaryaṁ
 dhāryann ajuhot prabhuḥ
trayodaśābda-sāhasram
 agnihotram akhaṇḍitam
Word for word: 
tataḥ — thereafter; ūrdhvam — after mother Sītā’s going into the earth; brahmacaryam — complete celibacy; dhārayan — observing; ajuhot — performed a ritualistic ceremony and sacrifice; prabhuḥ — Lord Rāmacandra; trayodaśa-abda-sāhasram — for thirteen thousand years; agnihotram — the sacrifice known as Agnihotra-yajña; akhaṇḍitam — without ceasing.
Translation: 
After mother Sītā entered the earth, Lord Rāmacandra observed complete celibacy and performed an uninterrupted Agnihotra-yajña for thirteen thousand years.