The man allegedly attacked his partner while she was naked, on her hands and knees trying to relieve the pain of her contractions after going into labour at home in Hull, East Yorkshire.
The couple, who had been together for seven years, cannot be named for legal reasons.
Prosecutor Michael Greenhalgh told the court the woman entered the 'advanced stages of labour' while the couple were in bed at around 11.30pm. The man had fallen asleep but his girlfriend had not because she was having labour pains.
Mr Greenhalgh said:
'She was in bed, naked as she normally would be. 'In order to try and relieve the pressure and the pain of the contractions, she got onto all fours because she had been told that was a way of relieving the pain.
'She was in that position when the defendant woke up. He saw her naked on all fours and said 'I feel horny', to which she replied 'are you serious?'. 'The defendant then got behind her and started having sex with her.'The man was accused of continuing to have sex with his partner even as she cried out in pain and begged him to stop.
After she gave birth to their baby, the woman stayed with her mother because the heating at the couple's property was broken. However, when she returned home, she made the rape allegations to her family and police.
The man denied the allegations and was cleared of the charge.
The court heard initial texts between the pair after the birth were of affection and excitement because of their child, but that the tone soon changed when she went back home.
Source: Daily Mail