Elano Blumer's first-half penalty was enough for FC Shakhtar Donetsk to carve out a narrow lead over Legia Warszawa in the first leg of their UEFA Champions League third qualifying round tie.
Shakhtar created a number of opportunities in front of Łukasz Fabiański's goal but found it impossible to convert any of them until visiting defender Dickson Choto felled Julius Aghahowa in the box on 39 minutes and Elano struck from the spot.
Shakhtar had other chances to score, notably when team captain Anatoliy Tymoschuk rattled the crossbar with a raking shot after just ten minutes. Later, Blumer earned a direct free-kick 20 metres out and nearly scored as the ball deflected narrowly wide off the wall and soon afterwards Fabiański had to be alert to keep out Matuzalem's fierce shot.
Shakhtar threatened again at the start of the second half. Brandão's shot appeared destined for the corner of the net but he was denied by the keeper, then Julius Aghahowa went close after breaking through down the wing. Darijo Srna had an even better chance as he raced clear on goal but Fabiański saved again.
The chances kept coming. Tymoschuk hit the post in injury time and substitute striker Olexiy Bielik found the net with a first-time effort only to see it ruled out for offside.