525 desiel 2001 (Which Engine code?)

We have just purchased a BMW 525d 2001 model, does anyone know the code for the engine, I can find the M51 engine code but that engine ceased to be used
in 2000, and the M57N which started life in 2003 so which engine was used between 2000 and 2003. Thank you.

Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file

Motorsforum.com is a website by car enthusiasts for car enthusiasts. It is not affiliated with any of the car or spare part manufacturers or car dealers discussed here. All logos and trade names are the property of their respective owners.