The first interview is to go through your knowledge, The second interview is more technical and product-focused.
Then a technical task was assigned, and after that a final interview
Unfortunately, They decided to lower the position just because they want someone more experienced with Years in leading.