India finished the day at 182 for three in reply to Australia's first-innings total 380 all out, and Pujara, who was dismissed for 44, felt the hosts were in a comfortable position.
"I was set and things were going smoothly for us. But unfortunately, I got out at the wrong time. Still we are in a good position. I am happy about it and I have also contributed at the right time," Pujara said.
Pujara was joined by Sachin Tendulkar, who remained unbeaten on 71 at stumps, at a crucial juncture as India had lost their openers with just 11 runs on the board.
The two added 93 runs for third wicket to steer India to safety.
More From This Section
"Sachin, when he got to bat, he was on the mark facing the first ball itself and hit three boundaries in the first over itself. So, he was looking positive. I have not seen him in such a kind of positive mindset. It was really pleasure watching him," the 26-year-old right-hander told reporters.
"It was very important for us to make a partnership and it was really crucial. During the partnership we were talking about how the ball was moving and at times reverse swinging. Such communication was really important when we were batting.