ZIELONA GORA, Poland (AP) -- Five-time Grand Slam champion Martina Hingis lost both her singles matches but finished on the winning team as Switzerland beat Poland 3-2 Sunday in a Fed Cup World Group playoff.

Swiss victory was sealed when Timea Bacsinszky and Victorija Golubic beat Poland's Agnieszka Radwanska and Alicja Rosolska 2-6, 6-4, 9-7 in a doubles match lasting over 2 1/2 hours on the hard indoor court.

Hingis was set to play in the doubles but injured her left leg in her earlier defeat by Urszula Radwanska and was substituted by Golubic.

Hingis was playing this weekend in her first competitive singles matches since 2007 and lost both of them to the Radwanska sisters.

On Sunday, Urszula Radwanska beat Hingis 4-6, 7-5, 6-1 to take the tie to 2-2 after Bacsinszky had easily defeated Agnieszka Radwanska 6-1, 6-1. On Saturday, Agnieszka Radwanska beat Hingis 6-4, 6-0.

The 34-year-old Hingis was playing in the Fed Cup for the first time in 17 years.

After her second retirement in 2007, Hingis played singles only in exhibition matches but won several doubles and mixed doubles titles.