The petitioner to a civil court case is the person who asked the court to start the case. This is done by filing a petition with a court and serving the other party, who is called the respondent.
The person that becomes the petitioner to a case will be the petitioner for the rest of the case. The same is true for the respondent.